summaryrefslogtreecommitdiffstats
path: root/chrome/common/process_watcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/process_watcher.h')
-rw-r--r--chrome/common/process_watcher.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/common/process_watcher.h b/chrome/common/process_watcher.h
index a1f909c..54b344b 100644
--- a/chrome/common/process_watcher.h
+++ b/chrome/common/process_watcher.h
@@ -20,14 +20,15 @@ class ProcessWatcher {
// does not appear to have exited, then this function starts to become
// aggressive about ensuring that the process terminates.
//
- // This method does not block the calling thread.
+ // On Linux this method does not block the calling thread.
+ // On OS X this method may block for up to 2 seconds.
//
// NOTE: The process handle must have been opened with the PROCESS_TERMINATE
// and SYNCHRONIZE permissions.
//
static void EnsureProcessTerminated(base::ProcessHandle process_handle);
-#if defined(OS_POSIX)
+#if defined(OS_LINUX)
// The nicer version of EnsureProcessTerminated() that is patient and will
// wait for |process_handle| to finish and then reap it.
static void EnsureProcessGetsReaped(base::ProcessHandle process_handle);