Add WCONTINUED option for waitpid(2).
authorPeter Avalos <pavalos@dragonflybsd.org>
Thu, 30 Aug 2007 20:41:00 +0000 (20:41 +0000)
committerPeter Avalos <pavalos@dragonflybsd.org>
Thu, 30 Aug 2007 20:41:00 +0000 (20:41 +0000)
commitcc162105221c8f2fc3bdf04aa5229a6eb3e7604e
treeb379e947832d4f8598309fab70012e97f66b0b67
parent558e3ffe3da2e8d5cd2e20ec91466ecbf7760972
Add WCONTINUED option for waitpid(2).

P_CONTINUED is set when a stopped process receives a SIGCONT and
cleared after it has notified a parent process that has requested
notification via waitpid(2) with WCONTINUED specified in its options
operand.  The status value can be checked with the new WIFCONTINUED()
macro.

Obtained-from: FreeBSD, OpenBSD
Reviewed-by: corecode
sys/kern/kern_exit.c
sys/kern/kern_sig.c
sys/sys/proc.h
sys/sys/wait.h