Lines Matching refs:process
804 uv_process_t* process = (uv_process_t*) data; in exit_wait_callback() local
805 uv_loop_t* loop = process->loop; in exit_wait_callback()
808 assert(process); in exit_wait_callback()
809 assert(!process->exit_cb_pending); in exit_wait_callback()
811 process->exit_cb_pending = 1; in exit_wait_callback()
814 POST_COMPLETION_FOR_REQ(loop, &process->exit_req); in exit_wait_callback()
891 uv_process_t* process, in uv_spawn() argument
904 uv__process_init(loop, process); in uv_spawn()
905 process->exit_cb = options->exit_cb; in uv_spawn()
1104 process->process_handle = info.hProcess; in uv_spawn()
1105 process->pid = info.dwProcessId; in uv_spawn()
1119 result = RegisterWaitForSingleObject(&process->wait_handle, in uv_spawn()
1120 process->process_handle, exit_wait_callback, (void*)process, INFINITE, in uv_spawn()
1132 uv__handle_start(process); in uv_spawn()
1354 int uv_process_kill(uv_process_t* process, int signum) { in uv_process_kill() argument
1357 if (process->process_handle == INVALID_HANDLE_VALUE) { in uv_process_kill()
1361 err = uv__kill(process->process_handle, signum); in uv_process_kill()
1366 process->exit_signal = signum; in uv_process_kill()