Home
last modified time | relevance | path

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

12345

/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/libmicrohttpd/src/testspdy/
Dtest_proxies.c223 wpid = waitpid(child_mhd,&childstatus,WNOHANG); in main()
231 wpid = waitpid(child_spdy2http,&childstatus,WNOHANG); in main()
239 wpid = waitpid(child_mhd2spdy,&childstatus,WNOHANG); in main()
247 if(waitpid(child_curl,&childstatus,WNOHANG) == child_curl) in main()
/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()
/external/strace/xlat/
Dwait4_options.h22 #if defined(WNOHANG) || (defined(HAVE_DECL_WNOHANG) && HAVE_DECL_WNOHANG)
23 XLAT(WNOHANG),
Dwait4_options.in1 WNOHANG
/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()
/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()
/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/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):
51 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/libchrome/base/process/
Dprocess_posix.cc59 pid_t ret_pid = HANDLE_EINTR(waitpid(handle, status, WNOHANG)); in WaitpidWithTimeout()
79 ret_pid = HANDLE_EINTR(waitpid(handle, status, WNOHANG)); in WaitpidWithTimeout()
324 pid_t pid = HANDLE_EINTR(waitpid(process_, NULL, WNOHANG)); in Terminate()
Dkill_posix.cc32 can_block ? 0 : WNOHANG)); in GetTerminationStatusImpl()
142 const pid_t result = HANDLE_EINTR(waitpid(child, NULL, WNOHANG)); in IsChildDead()
/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

12345