View Source Stdio.Syscall.Linux (stdio v0.4.4)

System call portability for Linux.

Summary

Functions

Terminate descendents of a supervisor process.

Terminate descendents of a process.

Functions

Terminate 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