Lines Matching refs:childproc
57 static pid_t childproc; variable
82 childproc = fork(); in priv_sched_rtprio_setup()
83 if (childproc < 0) { in priv_sched_rtprio_setup()
87 if (childproc == 0) { in priv_sched_rtprio_setup()
248 error = rtprio(RTP_SET, childproc, &rtp); in priv_sched_rtprio_aproc_normal()
271 error = rtprio(RTP_SET, childproc, &rtp); in priv_sched_rtprio_aproc_idle()
294 error = rtprio(RTP_SET, childproc, &rtp); in priv_sched_rtprio_aproc_realtime()
315 (void)kill(childproc, SIGKILL); in priv_sched_rtprio_cleanup()
317 pid = waitpid(childproc, NULL, 0); in priv_sched_rtprio_cleanup()
320 childproc); in priv_sched_rtprio_cleanup()
321 if (pid == childproc) in priv_sched_rtprio_cleanup()
325 childproc = -1; in priv_sched_rtprio_cleanup()