Home | History | Annotate | Download | only in process

Lines Matching full:process

12 #include "base/process/process_handle.h"
31 // oom kill for sure, but we can use status of the strong process bindings as
47 // Attempts to kill the process identified by the given process
49 // for the process to be actually terminated before returning.
51 BASE_EXPORT bool KillProcess(ProcessHandle process, int exit_code, bool wait);
54 // Attempts to kill the process group identified by |process_group_id|. Returns
65 // Get the termination status of the process by interpreting the
66 // circumstances of the child process' death. |exit_code| is set to
77 // Send a kill signal to the process and then wait for the process to exit
80 // This is used in situations where it is believed that the process is dead
81 // or dying (because communication with the child process has been cut).
82 // In order to avoid erroneously returning that the process is still running
83 // because the kernel is still cleaning it up, this will wait for the process
85 // process to terminate, send a SIGKILL to the process before waiting for the
96 // Waits for process to exit. On POSIX systems, if the process hasn't been
102 // Waits for process to exit. If it did exit within |timeout_milliseconds|,
104 // In POSIX systems, if the process has been signaled then |exit_code| is set
121 // Wait for a single process to exit. Return true if it exited cleanly within
122 // the given time limit. On Linux |handle| must be a child process, however
123 // on Mac and Windows it can be any process.
138 // This method ensures that the specified process eventually terminates, and
139 // then it closes the given process handle.
141 // It assumes that the process has already been signalled to exit, and it
142 // begins by waiting a small amount of time for it to exit. If the process
144 // aggressive about ensuring that the process terminates.
149 // NOTE: The process handle must have been opened with the PROCESS_TERMINATE