diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-24 23:27:11 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-24 23:27:11 +0000 |
commit | 6466e2cedc3398c6bbf8227c5a2c8c1cb9253a75 (patch) | |
tree | 68fa3542f422b3298286829a69cf337a1e434d21 /base/process_util.h | |
parent | 1ef1023581b9f58105864d771cc4cdbe45a29532 (diff) | |
download | chromium_src-6466e2cedc3398c6bbf8227c5a2c8c1cb9253a75.zip chromium_src-6466e2cedc3398c6bbf8227c5a2c8c1cb9253a75.tar.gz chromium_src-6466e2cedc3398c6bbf8227c5a2c8c1cb9253a75.tar.bz2 |
Revert "POSIX: Don't spawn zombies." (r14488)
Something else is trying to reap children in the ui_tests and causing
a mess. Reverting since it's a Friday night.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14499 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/process_util.h')
-rw-r--r-- | base/process_util.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/base/process_util.h b/base/process_util.h index a692870..9eb8690 100644 --- a/base/process_util.h +++ b/base/process_util.h @@ -172,13 +172,9 @@ bool KillProcessById(ProcessId process_id, int exit_code, bool wait); #endif // Get the termination status (exit code) of the process and return true if the -// status indicates the process crashed. |child_exited| is set to true iff the -// child process has terminated. (|child_exited| may be NULL.) -// -// On Windows, it is an error to call this if the process hasn't terminated -// yet. On POSIX, |child_exited| is set correctly since we detect terminate in -// a different manner on POSIX. -bool DidProcessCrash(bool* child_exited, ProcessHandle handle); +// status indicates the process crashed. It is an error to call this if the +// process hasn't terminated yet. +bool DidProcessCrash(ProcessHandle handle); // Waits for process to exit. In POSIX systems, if the process hasn't been // signaled then puts the exit code in |exit_code|; otherwise it's considered |