Home | History | Annotate | Download | only in shill

Lines Matching full:process

31 #include <brillo/process.h>
38 // The ProcessManager is a singleton providing process creation and
39 // asynchronous process termination. Need to initialize it once with
48 // Register async signal handler and setup process reaper.
54 // Create and start a process for |program| with |arguments|. |enivronment|
55 // variables will be setup in the child process before exec the |program|.
56 // |terminate_with_parent| is used to indicate if child process should
57 // self terminate if the parent process exits. |exit_callback| will be
58 // invoked when child process exits (not terminated by us). Return -1
59 // if failed to start the process, otherwise, return the pid of the child
60 // process.
72 // - the child process will run as |user| and |group|
73 // - the |capmask| argument can be used to provide the child process
105 // unregistered, since the caller is not interested in this process anymore
106 // and that callback might not be valid by the time this process terminates.
107 // This will attempt to terminate the child process by sending a SIGTERM
108 // signal first. If the process doesn't terminate within a certain time,
110 // with an error log If the process still doesn't terminate within a certain
131 // Invoked when process |pid| exited.
134 // Invoked when process |pid| did not terminate within a certain timeout.
136 // to true, SIGKILL was used to terminate the process, otherwise, SIGTERM
140 // Send a termination signal to process |pid|. If |kill_signal| is set to
143 // list, to make sure process |pid| does exit in timely manner.
146 // Kill process |pid|. If |kill_signal| is true it will send SIGKILL,
148 // It returns true when the process was already dead or killed within
150 // It returns false when the process failed to exit within the timeout
154 // Kill process |pid| using signal |signal|.
155 // The |killed| will be set true when the process was already dead.
157 // process was already dead.
161 // Wait for process |pid| to exit. This function will check it for at most
178 // Processes being terminated by us. Use a timer to make sure process