Home
last modified time | relevance | path

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

1234567

/external/ltp/testcases/kernel/syscalls/waitpid/
Dwaitpid12.c54 if (TST_TRACE(waitpid_ret_test(0, &status, WNOHANG, 0, 0))) in do_child_1()
57 if (TST_TRACE(waitpid_ret_test(-group, &status, WNOHANG, 0, 0))) in do_child_1()
62 if (TST_TRACE(reap_children(0, WNOHANG, fork_kid_pid + (MAXKIDS / 2), in do_child_1()
66 if (TST_TRACE(reap_children(-group, WNOHANG, fork_kid_pid, in do_child_1()
Dwaitpid09.c66 ret = waitpid(pid, &status, WNOHANG); in case0()
96 ret = waitpid(pid, &status, WNOHANG); in case1()
151 ret = waitpid(-1, &status, WNOHANG); in case3()
Dwaitpid07.c51 if (TST_TRACE(waitpid_ret_test(-1, &status, WNOHANG, 0, 0))) in do_child_1()
56 if (TST_TRACE(reap_children(-1, WNOHANG, fork_kid_pid, MAXKIDS))) in do_child_1()
Dwaitpid13.c53 if (TST_TRACE(waitpid_ret_test(0, &status, WNOHANG | WUNTRACED, 0, 0))) in do_child_1()
56 if (TST_TRACE(waitpid_ret_test(-group, &status, WNOHANG | WUNTRACED, in do_child_1()
/external/curl/tests/
Dftp.pm146 waitpid($pid, &WNOHANG);
196 waitpid($pid, &WNOHANG);
214 waitpid($pid, &WNOHANG);
231 waitpid($pid, &WNOHANG);
/external/python/cpython2/Lib/plat-irix5/
DWAIT.py7 WNOHANG = 0100 variable
13 WOPTMASK = (WEXITED|WTRAPPED|WSTOPPED|WCONTINUED|WNOHANG|WNOWAIT)
/external/compiler-rt/test/asan/TestCases/Posix/
Dwait3.cc20 res = wait3(status, WNOHANG, NULL); in main()
24 res = wait3(&good_status, WNOHANG, ru); in main()
Dwait4.cc27 res = wait4(pid, status, WNOHANG, NULL); in main()
31 res = wait4(pid, &good_status, WNOHANG, ru); in main()
Dwaitid.cc17 res = waitid(P_ALL, 0, si, WEXITED | WNOHANG); in main()
/external/strace/tests-m32/
Dwait4.c124 if (wait4(pid, s, WNOHANG|__WALL, NULL)) in main()
129 if (wait4(pid, s, WNOHANG|__WALL, rusage)) in main()
194 assert(wait4(-1, s, WNOHANG|WSTOPPED|__WALL, rusage) == -1); in main()
Dwaitid.c186 if (do_waitid(P_PID, pid, 0, WNOHANG|WEXITED, 0)) in main()
193 if (do_waitid(P_PID, pid, sinfo, WNOHANG|WEXITED|WSTOPPED, rusage)) in main()
Dwaitpid.c44 long rc = syscall(__NR_waitpid, pid, 0L, (unsigned long) WNOHANG); in main()
/external/strace/tests-mx32/
Dwait4.c124 if (wait4(pid, s, WNOHANG|__WALL, NULL)) in main()
129 if (wait4(pid, s, WNOHANG|__WALL, rusage)) in main()
194 assert(wait4(-1, s, WNOHANG|WSTOPPED|__WALL, rusage) == -1); in main()
Dwaitid.c186 if (do_waitid(P_PID, pid, 0, WNOHANG|WEXITED, 0)) in main()
193 if (do_waitid(P_PID, pid, sinfo, WNOHANG|WEXITED|WSTOPPED, rusage)) in main()
Dwaitpid.c44 long rc = syscall(__NR_waitpid, pid, 0L, (unsigned long) WNOHANG); in main()
/external/strace/tests/
Dwait4.c124 if (wait4(pid, s, WNOHANG|__WALL, NULL)) in main()
129 if (wait4(pid, s, WNOHANG|__WALL, rusage)) in main()
194 assert(wait4(-1, s, WNOHANG|WSTOPPED|__WALL, rusage) == -1); in main()
Dwaitid.c186 if (do_waitid(P_PID, pid, 0, WNOHANG|WEXITED, 0)) in main()
193 if (do_waitid(P_PID, pid, sinfo, WNOHANG|WEXITED|WSTOPPED, rusage)) in main()
Dwaitpid.c44 long rc = syscall(__NR_waitpid, pid, 0L, (unsigned long) WNOHANG); in main()
/external/strace/xlat/
Dwait4_options.h40 #if defined(WNOHANG) || (defined(HAVE_DECL_WNOHANG) && HAVE_DECL_WNOHANG)
41 XLAT(WNOHANG),
Dwait4_options.in1 WNOHANG
/external/python/cpython3/Lib/multiprocessing/
Dpopen_forkserver.py57 def poll(self, flag=os.WNOHANG):
60 timeout = 0 if flag == os.WNOHANG else None
Dpopen_fork.py25 def poll(self, flag=os.WNOHANG):
48 return self.poll(os.WNOHANG if timeout == 0.0 else 0)
/external/ltp/testcases/kernel/syscalls/waitid/
Dwaitid02.c83 .options = WNOHANG,
91 .options = WNOHANG | WEXITED,
99 .options = WNOHANG | WEXITED,
/external/ltp/testcases/kernel/pty/
Dhangup01.c75 if (waitpid(childpid, &status, WNOHANG) < 0) { in cleanup()
149 while (waitpid(childpid, &status, WNOHANG) < 0 && errno != ESRCH) ; in parent()
/external/kernel-headers/original/uapi/linux/
Dwait.h5 #define WNOHANG 0x00000001 macro

1234567