Home
last modified time | relevance | path

Searched refs:command_pid (Results 1 – 3 of 3) sorted by relevance

/openbsd-src/gnu/usr.bin/cvs/src/
H A Dserver.c2505 static pid_t command_pid; variable
2513 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 …]
H A DChangeLog-93952567 (server_cleanup): If command_pid is nonzero, wait for it to die,
/openbsd-src/usr.sbin/bgplgd/
H A Dslowcgi.c118 pid_t command_pid; member
513 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()