Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(43)

Unified Diff: content/browser/zygote_host/zygote_host_impl_linux.h

Issue 11316261: Linux: inform the Zygote when it's waiting on a dead process (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/zygote_host/zygote_host_impl_linux.h
diff --git a/content/browser/zygote_host/zygote_host_impl_linux.h b/content/browser/zygote_host/zygote_host_impl_linux.h
index 8a6c77823350c877481c1a55bac8c34bab36b542..2edbfbe5e75193921975cd3c09d53398a98c2c80 100644
--- a/content/browser/zygote_host/zygote_host_impl_linux.h
+++ b/content/browser/zygote_host/zygote_host_impl_linux.h
@@ -37,7 +37,12 @@ class CONTENT_EXPORT ZygoteHostImpl : public ZygoteHost {
// Get the termination status (and, optionally, the exit code) of
// the process. |exit_code| is set to the exit code of the child
// process. (|exit_code| may be NULL.)
+ // Unfortunately the Zygote can not accurately figure out if a process
+ // is already dead without waiting synchroneously for it.
agl 2012/12/04 15:27:55 synchronously
jln (very slow on Chromium) 2012/12/04 20:01:25 Done.
+ // |known_dead| should be set to true when we already know that the process
+ // is dead.
base::TerminationStatus GetTerminationStatus(base::ProcessHandle handle,
+ bool known_dead,
int* exit_code);
// ZygoteHost implementation:

Powered by Google App Engine
This is Rietveld 408576698