Lines Matching defs:process
73 * giving it to anyone, we're the only process holding a reference to it.
74 * That means that if this process exits it is closed and all the processes
820 * a child process has exited.
823 uv_process_t* process = (uv_process_t*) data;
824 uv_loop_t* loop = process->loop;
827 assert(process);
828 assert(!process->exit_cb_pending);
830 process->exit_cb_pending = 1;
833 POST_COMPLETION_FOR_REQ(loop, &process->exit_req);
837 /* Called on main thread after a child process has exited. */
852 /* Unregister from process notification. */
902 /* Clean-up the process handle. */
910 uv_process_t* process,
923 uv__process_init(loop, process);
924 process->exit_cb = options->exit_cb;
1055 /* Use SW_HIDE to avoid any potential process window. */
1063 * means that libuv might not let you create a fully daemonized process
1091 /* If the process isn't spawned as detached, assign to the global job object
1092 * so windows will kill it when the parent process dies. */
1097 /* AssignProcessToJobObject might fail if this process is under job
1123 process->process_handle = info.hProcess;
1124 process->pid = info.dwProcessId;
1137 /* Setup notifications for when the child process exits. */
1138 result = RegisterWaitForSingleObject(&process->wait_handle,
1139 process->process_handle, exit_wait_callback, (void*)process, INFINITE,
1151 uv__handle_start(process);
1182 /* Create a dump file for the targeted process, if the registry key
1194 /* Get target process name. */
1197 /* Get PID of target process. */
1243 /* Construct dump filename from process name and PID. */
1308 /* Unconditionally terminate the process. On Windows, killed processes
1315 /* If the process already exited before TerminateProcess was called,.
1327 /* Health check: is the process still alive? */
1347 int uv_process_kill(uv_process_t* process, int signum) {
1350 if (process->process_handle == INVALID_HANDLE_VALUE) {
1354 err = uv__kill(process->process_handle, signum);
1359 process->exit_signal = signum;