Searched refs:command_pid (Results 1 – 3 of 3) sorted by relevance
2505 static pid_t command_pid; variable2513 if (command_pid > 0)2514 kill (command_pid, SIGTERM);2746 command_pid = -1;2841 command_pid = fork ();2842 if (command_pid < 0)2848 if (command_pid == 0)3269 while (command_pid > 0)3273 waited_pid = waitpid (command_pid, &status, 0);3311 if (waited_pid == command_pid)[all …]
2567 (server_cleanup): If command_pid is nonzero, wait for it to die,
118 pid_t command_pid; member513 if (c->command_pid == 0) { in slowcgi_timeout()519 ldebug("timeout fired for pid %d", c->command_pid); in slowcgi_timeout()524 if (kill(c->command_pid, sig) == -1) { in slowcgi_timeout()525 lwarn("kill child %d after timeout", c->command_pid); in slowcgi_timeout()558 if (c->command_pid == pid) in slowcgi_sig_handler()1032 c->command_pid = pid; in exec_cgi()