Searched refs:WNOHANG (Results 1 – 6 of 6) sorted by relevance
| /xnu-8792.41.9/tests/ |
| H A D | freebsd_waitpid_nohang.c | 50 pid = waitpid(child, &status, WNOHANG); 60 pid = waitpid(child, &status, WNOHANG);
|
| H A D | suspended_spawn_26184412.c | 60 int waitpid_result = waitpid(child_pid, &status, WUNTRACED | WNOHANG); in spawn_and_signal()
|
| H A D | exec-race-58566604.c | 110 waitedpid = waitpid(child_pid, &status, WNOHANG); in run_test()
|
| H A D | task_vm_info_decompressions.c | 62 while (0 == waitpid(child_pid, &status, WNOHANG)) { in freeze_pid()
|
| /xnu-8792.41.9/bsd/sys/ |
| H A D | wait.h | 121 #define WNOHANG 0x00000001 /* [XSI] no hang in wait/no child to reap */ macro
|
| /xnu-8792.41.9/bsd/kern/ |
| H A D | kern_exit.c | 2968 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()
|