Add WCONTINUED option for waitpid(2).
commitbaf4f0616004eb0951a197ec73606f114609ac33
authorpavalos <pavalos>
Thu, 30 Aug 2007 20:41:00 +0000 (30 20:41 +0000)
committerpavalos <pavalos>
Thu, 30 Aug 2007 20:41:00 +0000 (30 20:41 +0000)
treec70fb716477e4454f4588e2f353375aace13249b
parent2f4d068bb5ebc681f15b8627cac8abc9ed152e3d
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