Lines Matching full:wait

41 #include <sys/wait.h>
151 * Wait for a process to exit. This is kind of gross, but in wait_for_zombie()
198 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
207 /* The second wait() should report the exit status. */ in ATF_TC_BODY()
236 /* Wait for the parent to attach. */ in ATF_TC_BODY()
254 /* The second wait() should report the exit status. */ in ATF_TC_BODY()
284 /* Wait for parent to be ready. */ in ATF_TC_BODY()
312 /* Wait for parent's failed wait. */ in ATF_TC_BODY()
326 /* Wait for the debugger to attach to the child. */ in ATF_TC_BODY()
337 * This wait should return a pid of 0 to indicate no status to in ATF_TC_BODY()
344 /* Signal the debugger to wait for the child. */ in ATF_TC_BODY()
347 /* Wait for the debugger. */ in ATF_TC_BODY()
363 * various wait() calls in the parent must avoid failing with ESRCH by
380 /* Wait for parent to be ready. */ in ATF_TC_BODY()
418 /* Wait for parent's failed wait. */ in ATF_TC_BODY()
433 /* Wait for the debugger parent process to exit. */ in ATF_TC_BODY()
439 /* A WNOHANG wait here should see the non-exited child. */ in ATF_TC_BODY()
443 /* Wait for the debugger to attach to the child. */ in ATF_TC_BODY()
454 * This wait should return a pid of 0 to indicate no status to in ATF_TC_BODY()
461 /* Signal the debugger to wait for the child. */ in ATF_TC_BODY()
464 /* Wait for the debugger. */ in ATF_TC_BODY()
589 wpid = wait(&status); in handle_fork_events()
647 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
668 wpid = wait(&status); in ATF_TC_BODY()
673 wpid = wait(&status); in ATF_TC_BODY()
678 wpid = wait(&status); in ATF_TC_BODY()
703 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
724 wpid = wait(&status); in ATF_TC_BODY()
729 wpid = wait(&status); in ATF_TC_BODY()
754 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
779 wpid = wait(&status); in ATF_TC_BODY()
784 wpid = wait(&status); in ATF_TC_BODY()
789 wpid = wait(&status); in ATF_TC_BODY()
811 /* Wait for the debugger to attach. */ in attach_fork_parent()
837 /* Wait for the direct child to exit. */ in ATF_TC_BODY()
868 wpid = wait(&status); in ATF_TC_BODY()
873 wpid = wait(&status); in ATF_TC_BODY()
878 wpid = wait(&status); in ATF_TC_BODY()
905 /* Wait for the direct child to exit. */ in ATF_TC_BODY()
936 wpid = wait(&status); in ATF_TC_BODY()
941 wpid = wait(&status); in ATF_TC_BODY()
968 /* Wait for the direct child to exit. */ in ATF_TC_BODY()
999 wpid = wait(&status); in ATF_TC_BODY()
1004 wpid = wait(&status); in ATF_TC_BODY()
1027 /* Wait for parent to be ready. */ in ATF_TC_BODY()
1060 /* Wait for traced child to exit. */ in ATF_TC_BODY()
1072 /* Wait for the debugger to attach to the child. */ in ATF_TC_BODY()
1084 /* Wait for the debugger. */ in ATF_TC_BODY()
1117 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
1128 /* Wait for both halves of the fork event to get reported. */ in ATF_TC_BODY()
1145 wpid = wait(&status); in ATF_TC_BODY()
1150 wpid = wait(&status); in ATF_TC_BODY()
1155 wpid = wait(&status); in ATF_TC_BODY()
1180 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
1191 /* Wait for both halves of the fork event to get reported. */ in ATF_TC_BODY()
1208 wpid = wait(&status); in ATF_TC_BODY()
1213 wpid = wait(&status); in ATF_TC_BODY()
1218 wpid = wait(&status); in ATF_TC_BODY()
1258 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
1275 * Wait for the new thread to arrive. pthread_create() might in ATF_TC_BODY()
1276 * invoke any number of system calls. For now we just wait in ATF_TC_BODY()
1298 /* Wait for the child to exit. */ in ATF_TC_BODY()
1313 wpid = wait(&status); in ATF_TC_BODY()
1335 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
1382 wpid = wait(&status); in ATF_TC_BODY()
1424 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
1486 wpid = wait(&status); in ATF_TC_BODY()
1521 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
1547 wpid = wait(&status); in ATF_TC_BODY()
1567 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
1584 wpid = wait(&status); in ATF_TC_BODY()
1602 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
1630 wpid = wait(&status); in ATF_TC_BODY()
1647 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
1680 wpid = wait(&status); in ATF_TC_BODY()
1701 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
1717 wpid = wait(&status); in ATF_TC_BODY()
1726 wpid = wait(&status); in ATF_TC_BODY()
1731 wpid = wait(&status); in ATF_TC_BODY()
1752 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
1767 /* Wait for both halves of the fork event to get reported. */ in ATF_TC_BODY()
1789 wpid = wait(&status); in ATF_TC_BODY()
1799 wpid = wait(&status); in ATF_TC_BODY()
1804 wpid = wait(&status); in ATF_TC_BODY()
1827 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
1836 /* The second wait() should report hitting the breakpoint. */ in ATF_TC_BODY()
1845 /* The last wait() should report the SIGKILL. */ in ATF_TC_BODY()
1851 wpid = wait(&status); in ATF_TC_BODY()
1875 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
1884 /* The second wait() should report a system call entry for getpid(). */ in ATF_TC_BODY()
1896 /* The last wait() should report the SIGKILL. */ in ATF_TC_BODY()
1902 wpid = wait(&status); in ATF_TC_BODY()
1925 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
1954 /* The last wait() should report the SIGKILL. */ in ATF_TC_BODY()
1960 wpid = wait(&status); in ATF_TC_BODY()
2050 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
2062 /* The second wait() should report the SIGUSR2. */ in ATF_TC_BODY()
2074 /* The last wait() should report the SIGKILL (not the SIGUSR signal). */ in ATF_TC_BODY()
2080 wpid = wait(&status); in ATF_TC_BODY()
2152 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
2219 /* The next wait() should report the SIGUSR2. */ in ATF_TC_BODY()
2240 /* The last wait() should report the SIGKILL (not a syscall exit). */ in ATF_TC_BODY()
2246 wpid = wait(&status); in ATF_TC_BODY()
2280 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
2297 /* The last wait() should report the SIGKILL. */ in ATF_TC_BODY()
2303 wpid = wait(&status); in ATF_TC_BODY()
2329 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
2338 /* The second wait() should report a system call entry for getpid(). */ in ATF_TC_BODY()
2352 * The last wait() should report exit 2, i.e., a normal _exit in ATF_TC_BODY()
2369 wpid = wait(&status); in ATF_TC_BODY()
2406 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
2415 /* The second wait() should report a system call entry for getpid(). */ in ATF_TC_BODY()
2427 /* The third wait() should report a system call exit for getpid(). */ in ATF_TC_BODY()
2441 * The last wait() should report exit 2, i.e., a normal _exit in ATF_TC_BODY()
2458 wpid = wait(&status); in ATF_TC_BODY()
2485 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
2510 * The last wait() should report normal _exit from the in ATF_TC_BODY()
2519 wpid = wait(&status); in ATF_TC_BODY()
2567 /* Wait to receive the SIGUSR1. */ in ATF_TC_BODY()
2576 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
2613 /* The last wait() should report exit after receiving SIGUSR1. */ in ATF_TC_BODY()
2619 wpid = wait(&status); in ATF_TC_BODY()
2642 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
2653 /* The second wait() should report a SIGINT was received. */ in ATF_TC_BODY()
2667 * The last wait() should report having died due to the new in ATF_TC_BODY()
2675 wpid = wait(&status); in ATF_TC_BODY()
2703 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
2712 /* The second wait() should report a system call entry for getpid(). */ in ATF_TC_BODY()
2726 * The last wait() should report exit due to SIGTRAP. In the in ATF_TC_BODY()
2742 wpid = wait(&status); in ATF_TC_BODY()
2766 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
2775 /* The second wait() should report a system call entry for getpid(). */ in ATF_TC_BODY()
2787 /* The next wait() should report a system call exit for getpid(). */ in ATF_TC_BODY()
2802 /* The next wait() should report the SIGABRT. */ in ATF_TC_BODY()
2817 * The last wait() should report exit 2, i.e., a normal _exit in ATF_TC_BODY()
2834 wpid = wait(&status); in ATF_TC_BODY()
2872 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
2882 * The last wait() should report normal exit with code 1. in ATF_TC_BODY()
2889 wpid = wait(&status); in ATF_TC_BODY()
2902 /* Wait for this thread to receive a SIGUSR1. */ in signal_thread()
2922 /* Wait until our companion has received its SIGUSR1. */ in signal_thread()
2955 /* Wait to receive a SIGUSR1. */ in ATF_TC_BODY()
2964 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
2978 /* The next wait() should report the kill(SIGUSR1) was received. */ in ATF_TC_BODY()
2989 /* The last wait() should report normal exit with code 1. */ in ATF_TC_BODY()
2995 wpid = wait(&status); in ATF_TC_BODY()
3027 /* Wait to receive a SIGUSR1. */ in ATF_TC_BODY()
3037 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
3048 /* The next wait() should report the SIGUSR1 was received. */ in ATF_TC_BODY()
3059 /* The last wait() should report normal exit with code 1. */ in ATF_TC_BODY()
3065 wpid = wait(&status); in ATF_TC_BODY()
3101 /* Wait until other thread has received its SIGUSR1. */ in ATF_TC_BODY()
3120 /* Wait for this thread to receive a SIGUSR1. */ in ATF_TC_BODY()
3134 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
3149 /* The second wait() should report a SIGUSR2 was received. */ in ATF_TC_BODY()
3158 /* The next wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
3169 /* The next wait() should report a SIGUSR2 was received. */ in ATF_TC_BODY()
3178 /* The last wait() should report normal exit with code 1. */ in ATF_TC_BODY()
3184 wpid = wait(&status); in ATF_TC_BODY()
3209 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
3248 /* The second wait() should report the exit status. */ in ATF_TC_BODY()
3359 wpid = wait(&status); in terminate_with_pending_sigstop()
3423 /* The first wait() should report the stop from trace_me(). */ in ATF_TC_BODY()
3453 /* The next wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
3473 wpid = wait(&status); in ATF_TC_BODY()
3599 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
3652 wpid = wait(&status); in ATF_TC_BODY()
3676 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
3685 /* The second wait() should report hitting the breakpoint. */ in ATF_TC_BODY()
3699 /* The last wait() should report the SIGKILL. */ in ATF_TC_BODY()
3705 wpid = wait(&status); in ATF_TC_BODY()
3728 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
3737 /* The second wait() should report a single-step trap. */ in ATF_TC_BODY()
3756 wpid = wait(&status); in ATF_TC_BODY()
3804 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
3928 wpid = wait(&status); in ATF_TC_BODY()
3951 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
4001 wpid = wait(&status); in ATF_TC_BODY()
4027 /* The first wait() should report the stop from SIGSTOP. */ in ATF_TC_BODY()
4158 wpid = wait(&status); in ATF_TC_BODY()
4199 wpid = wait(&status); in ATF_TC_BODY()
4212 wpid = wait(&status); in ATF_TC_BODY()
4243 wpid = wait(&status); in ATF_TC_BODY()
4254 wpid = wait(&status); in ATF_TC_BODY()
4279 /* Wait until the child process has stopped before fork()ing again. */ in ATF_TC_BODY()
4311 wpid = wait(&status); in ATF_TC_BODY()