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

Side by Side Diff: base/process/kill.h

Issue 2692273008: Hacky slashy (Closed)
Patch Set: rebase on config CL, and minor fixes Created 3 years, 7 months 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 unified diff | Download patch
« no previous file with comments | « base/message_loop/message_loop_unittest.cc ('k') | base/process/kill_fuchsia.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file contains routines to kill processes and get the exit code and 5 // This file contains routines to kill processes and get the exit code and
6 // termination status. 6 // termination status.
7 7
8 #ifndef BASE_PROCESS_KILL_H_ 8 #ifndef BASE_PROCESS_KILL_H_
9 #define BASE_PROCESS_KILL_H_ 9 #define BASE_PROCESS_KILL_H_
10 10
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 // aggressive about ensuring that the process terminates. 128 // aggressive about ensuring that the process terminates.
129 // 129 //
130 // On Linux this method does not block the calling thread. 130 // On Linux this method does not block the calling thread.
131 // On OS X this method may block for up to 2 seconds. 131 // On OS X this method may block for up to 2 seconds.
132 // 132 //
133 // NOTE: The process must have been opened with the PROCESS_TERMINATE and 133 // NOTE: The process must have been opened with the PROCESS_TERMINATE and
134 // SYNCHRONIZE permissions. 134 // SYNCHRONIZE permissions.
135 // 135 //
136 BASE_EXPORT void EnsureProcessTerminated(Process process); 136 BASE_EXPORT void EnsureProcessTerminated(Process process);
137 137
138 #if defined(OS_POSIX) && !defined(OS_MACOSX) 138 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_FUCHSIA)
139 // The nicer version of EnsureProcessTerminated() that is patient and will 139 // The nicer version of EnsureProcessTerminated() that is patient and will
140 // wait for |pid| to finish and then reap it. 140 // wait for |pid| to finish and then reap it.
141 BASE_EXPORT void EnsureProcessGetsReaped(ProcessId pid); 141 BASE_EXPORT void EnsureProcessGetsReaped(ProcessId pid);
142 #endif 142 #endif
143 143
144 } // namespace base 144 } // namespace base
145 145
146 #endif // BASE_PROCESS_KILL_H_ 146 #endif // BASE_PROCESS_KILL_H_
OLDNEW
« no previous file with comments | « base/message_loop/message_loop_unittest.cc ('k') | base/process/kill_fuchsia.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698