Home
last modified time | relevance | path

Searched refs:WNOHANG (Results 1 – 6 of 6) sorted by relevance

/xnu-8792.41.9/tests/
H A Dfreebsd_waitpid_nohang.c50 pid = waitpid(child, &status, WNOHANG);
60 pid = waitpid(child, &status, WNOHANG);
H A Dsuspended_spawn_26184412.c60 int waitpid_result = waitpid(child_pid, &status, WUNTRACED | WNOHANG); in spawn_and_signal()
H A Dexec-race-58566604.c110 waitedpid = waitpid(child_pid, &status, WNOHANG); in run_test()
H A Dtask_vm_info_decompressions.c62 while (0 == waitpid(child_pid, &status, WNOHANG)) { in freeze_pid()
/xnu-8792.41.9/bsd/sys/
H A Dwait.h121 #define WNOHANG 0x00000001 /* [XSI] no hang in wait/no child to reap */ macro
/xnu-8792.41.9/bsd/kern/
H A Dkern_exit.c2968 if (uap->options & WNOHANG) { in wait4_nocancel()
3058 (uap->options & ~(WNOHANG | WNOWAIT | WCONTINUED | WSTOPPED | WEXITED))) { in waitid_nocancel()
3247 if (uap->options & WNOHANG) { in waitid_nocancel()