Searched refs:hr_workerpid (Results 1 – 5 of 5) sorted by relevance
69 res->hr_workerpid = 0; in child_cleanup()116 if (res->hr_workerpid != 0) { in control_set_role_common()117 if (kill(res->hr_workerpid, SIGTERM) == -1) { in control_set_role_common()120 (unsigned int)res->hr_workerpid); in control_set_role_common()121 } else if (waitpid(res->hr_workerpid, NULL, 0) != in control_set_role_common()122 res->hr_workerpid) { in control_set_role_common()125 (unsigned int)res->hr_workerpid); in control_set_role_common()128 (unsigned int)res->hr_workerpid); in control_set_role_common()283 nv_add_int32(nvout, res->hr_workerpid, "workerpid%u", no); in control_status()287 PJDLOG_ASSERT(res->hr_workerpid != 0); in control_status()[all …]
333 if (pid == res->hr_workerpid) in child_exit()690 if (cres->hr_workerpid != 0) in hastd_reload()730 if (res->hr_workerpid == 0) in terminate_workers()734 if (kill(res->hr_workerpid, SIGTERM) == 0) in terminate_workers()878 if (res->hr_workerpid != 0) { in listen_accept()882 (unsigned int)res->hr_workerpid); in listen_accept()887 (unsigned int)res->hr_workerpid); in listen_accept()894 else if ((pid = waitpid(res->hr_workerpid, in listen_accept()895 &status, 0)) != res->hr_workerpid) { in listen_accept()899 (unsigned int)res->hr_workerpid); in listen_accept()[all …]
221 pid_t hr_workerpid; member
452 res->hr_workerpid = pid; in hastd_secondary()
1014 res->hr_workerpid = pid; in hastd_primary()