Home
last modified time | relevance | path

Searched refs:m_pid (Results 1 – 11 of 11) sorted by relevance

/minix/external/bsd/atf/dist/tools/
H A Dtimers.cpp151 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 Dprocess.cpp415 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 Dtimers.hpp70 const pid_t m_pid; member in tools::timers::child_timer
H A Dprocess.hpp223 pid_t m_pid; member in tools::process::child
/minix/external/bsd/bind/dist/unit/atf-src/atf-run/
H A Dtimer.cpp197 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 Dtimer.hpp68 const pid_t m_pid; member in atf::atf_run::child_timer
/minix/external/bsd/atf/dist/atf-c/detail/
H A Dprocess.c256 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 Dprocess.h101 pid_t m_pid; member
/minix/external/bsd/bind/dist/unit/atf-src/atf-c/detail/
H A Dprocess.c256 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 Dprocess.h103 pid_t m_pid; member
/minix/minix/commands/synctree/
H A Dsynctree.c1362 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()