View Source Stdio.Syscall.Linux (stdio v0.4.2)
System call portability for Linux.
Link to this section Summary
Link to this section Functions
Terminating descendents of a supervisor process
Terminate descendents of a process.
reap signals subprocesses of a process identified by PID. If the
process called PR_SET_CHILD_SUBREAPER
, background and daemonized
subprocesses will also be terminated.
Note: terminating subprocesses using this method is subject to race conditions:
new processes may have been forked
processes may have exited and unrelated processes assigned the PID
processes may ignore some signals
processes may not immediately exit after signalling