summaryrefslogtreecommitdiffstats
path: root/base/process_util_mac.mm
diff options
context:
space:
mode:
authorjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-05 01:57:21 +0000
committerjeremy@chromium.org <jeremy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-05 01:57:21 +0000
commit43bc28320c2e383b74d4e4c031bc01505e3a6608 (patch)
treeb2055861e7dd39839018b7e1d9cfb4a25150e578 /base/process_util_mac.mm
parent4c7073f666fd6c0209e1e9ae87e53698371ed973 (diff)
downloadchromium_src-43bc28320c2e383b74d4e4c031bc01505e3a6608.zip
chromium_src-43bc28320c2e383b74d4e4c031bc01505e3a6608.tar.gz
chromium_src-43bc28320c2e383b74d4e4c031bc01505e3a6608.tar.bz2
* Add timeout support to POSIX WaitForSingleProcess()
* Unify Linux & Mac implementations of WaitForSingleProcess() Review URL: http://codereview.chromium.org/12969 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6416 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/process_util_mac.mm')
-rw-r--r--base/process_util_mac.mm7
1 files changed, 0 insertions, 7 deletions
diff --git a/base/process_util_mac.mm b/base/process_util_mac.mm
index 99843de..a0a123a 100644
--- a/base/process_util_mac.mm
+++ b/base/process_util_mac.mm
@@ -52,13 +52,6 @@ bool LaunchApp(const CommandLine& cl,
return LaunchApp(cl.argv(), wait, process_handle);
}
-bool WaitForSingleProcess(ProcessHandle handle, int wait_milliseconds) {
- // TODO(playmobil): Do we need to support wait_milliseconds?
- int status;
- waitpid(handle, &status, 0);
- return WIFEXITED(status);
-}
-
bool ProcessMetrics::GetIOCounters(IoCounters* io_counters) {
// TODO(pinkerton): can we implement this? On linux it relies on /proc.
return false;