Commit Graph
12 Commits
Author SHA1 Message Date
Kris Maglione 09b8043514 Bug 1370027: Part 1 - Cleanly handle a subprocess child being reaped by NSPR. r=aswan
The first time any other code in the parent process uses NSPR (usually via
nsIProcess) to spawn a new process, it spawns a thread to contuously wait for
any child process to exit. This thread winds up reaping our child processes
before we get the chance to wait for them, which leads us to continuously poll
for them to exit.

We don't have a good way to handle this, but checking the error status of
waitpid at least prevents us from failing catastrophically.

MozReview-Commit-ID: 75Z1yUHUmjy
2017-06-06 16:00:53 -07:00
Mark Banner cd26ab051f Bug 1367232 - Clean up various ESLint global definitions in toolkit/. r=mossop
MozReview-Commit-ID: Hhm4YBansg1
2017-05-19 09:22:48 +01:00
Kris Maglione 44c17906e3 Bug 1309351: Part 1 - Replace child_process/subprocess.js with a thin wrapper around Subprocess.jsm. r=rpl f=mhowell
MozReview-Commit-ID: 7r9pSC8v1T
2016-10-14 18:01:42 -07:00
Andrea Marchesini 5f8dfa9ba6 Bug 790919 - Don't dispatch close event in Workers, r=bkelly 2016-08-31 21:33:05 -07:00
Kris Maglione bf1d63376b Bug 1276390 - Use blocking polling in worker to handle subprocess IO. r=aswan
MozReview-Commit-ID: KXqgCLnO7dR
2016-07-28 16:27:25 -07:00
Wes Kocher 70202903b0 Backed out changeset 48cff1c9b619 (bug 1276390) for xpcshell bustage CLOSED TREE 2016-07-28 16:03:23 -07:00
Kris Maglione bb7b5e9c9c Bug 1276390 - Use blocking polling in worker to handle subprocess IO. r=aswan
MozReview-Commit-ID: KXqgCLnO7dR
2016-07-27 15:14:57 -07:00
Andrew Swan 1fe0784edd Bug 1280636 Call updatePollFds() on error on sentinel fd r=kmag
MozReview-Commit-ID: DCpxwsf65q0
2016-06-17 09:29:06 -07:00
Kris Maglione 7d3a70f858 Bug 1278733: Follow-up: Fix JSDoc errors in the subprocess module. r=bustage
MozReview-Commit-ID: 2NYydGYh0Xu
2016-06-08 12:34:23 -07:00
Kris Maglione 21159a4535 Bug 1269501: Part 3 - Add new Subprocess IPC module. r=aswan r=mhowell rs=bsmedberg
MozReview-Commit-ID: 6vl5xBTBXiF
2016-05-29 17:15:47 -07:00
Sebastian Hengst 3344303db0 Backed out 5 changesets (bug 1269501) for failing the added test_subprocess.js on Windows (didn't fold it into the last backout). r=backout
Backed out changeset 3e1d7c5d1a58 (bug 1269501)
Backed out changeset 167e407cb1fc (bug 1269501)
Backed out changeset 6438b11898cf (bug 1269501)
Backed out changeset 1cbbf940ec35 (bug 1269501)
Backed out changeset ed35c5f4d756 (bug 1269501)
2016-05-28 12:38:25 +02:00
Kris Maglione f6ec93d4de Bug 1269501: Part 3 - Add new Subprocess IPC module. r=aswan r=mhowell rs=bsmedberg
MozReview-Commit-ID: 6vl5xBTBXiF
2016-05-25 18:29:05 -07:00