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: |