Searched refs:m_pid (Results 1 – 11 of 11) sorted by relevance
/minix/external/bsd/atf/dist/tools/ |
H A D | timers.cpp | 151 m_pid(pid), in child_timer() 165 ::kill(-m_pid, SIGTERM); in timeout_callback() 167 if (::kill(-m_pid, 0) != -1) in timeout_callback() 168 ::kill(-m_pid, SIGKILL); in timeout_callback()
|
H A D | process.cpp | 415 m_pid(pid_arg), in child() 425 ::kill(m_pid, SIGTERM); in ~child() 440 if (::waitpid(m_pid, &s, 0) == -1) in wait() 442 "process " + text::to_string(m_pid), errno); in wait() 457 return m_pid; in pid()
|
H A D | timers.hpp | 70 const pid_t m_pid; member in tools::timers::child_timer
|
H A D | process.hpp | 223 pid_t m_pid; member in tools::process::child
|
/minix/external/bsd/bind/dist/unit/atf-src/atf-run/ |
H A D | timer.cpp | 197 m_pid(pid), in child_timer() 211 ::kill(-m_pid, SIGTERM); in timeout_callback() 213 if (::kill(-m_pid, 0) != -1) in timeout_callback() 214 ::kill(-m_pid, SIGKILL); in timeout_callback()
|
H A D | timer.hpp | 68 const pid_t m_pid; member in atf::atf_run::child_timer
|
/minix/external/bsd/atf/dist/atf-c/detail/ |
H A D | process.c | 256 c->m_pid = 0; in atf_process_child_init() 279 if (waitpid(c->m_pid, &status, 0) == -1) in atf_process_child_wait() 281 c->m_pid); in atf_process_child_wait() 293 return c->m_pid; in atf_process_child_pid() 407 c->m_pid = pid; in do_parent() 629 … atf_process_child_t c = { .m_pid = 0, .m_stdout = 1, .m_stderr = 2 }; /* MINIX: Complain in -O3 */ in atf_process_exec_array()
|
H A D | process.h | 101 pid_t m_pid; member
|
/minix/external/bsd/bind/dist/unit/atf-src/atf-c/detail/ |
H A D | process.c | 256 c->m_pid = 0; in atf_process_child_init() 279 if (waitpid(c->m_pid, &status, 0) == -1) in atf_process_child_wait() 281 c->m_pid); in atf_process_child_wait() 293 return c->m_pid; in atf_process_child_pid() 407 c->m_pid = pid; in do_parent()
|
H A D | process.h | 103 pid_t m_pid; member
|
/minix/minix/commands/synctree/ |
H A D | synctree.c | 1362 int s_pid= 0, m_pid= 0; in main() local 1418 switch (m_pid= fork()) { in main() 1445 switch (m_pid= fork()) { in main() 1465 while (s_pid != 0 || m_pid != 0) { in main() 1468 if (r == m_pid) m_pid= 0; in main()
|