Home
last modified time | relevance | path

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

12345

/third_party/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.c49 ret = waitpid(pid, &status, WNOHANG); in case0()
79 ret = waitpid(pid, &status, WNOHANG); in case1()
134 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()
Dwaitpid08.c54 if (TST_TRACE(waitpid_ret_test(-1, &status, WNOHANG | WUNTRACED, 0, 0))) in do_child_1()
/third_party/skia/third_party/externals/microhttpd/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()
/third_party/python/Lib/test/
Dtest_wait3.py27 spid, status, rusage = os.wait3(os.WNOHANG)
43 pid, status, rusage = os.wait3(os.WNOHANG)
Dtest_wait4.py18 option = os.WNOHANG
/third_party/libwebsockets/lib/plat/unix/
Dunix-spawn.c167 n = wait4(lsp->child_pid, &status, WNOHANG, &rusa); in lws_spawn_reap()
172 n = waitid(P_PID, (id_t)lsp->child_pid, &lsp->si, WEXITED | WNOHANG | WNOWAIT); in lws_spawn_reap()
232 n = wait4(lsp->child_pid, &status, WNOHANG, &rusa); in lws_spawn_reap()
240 n = waitid(P_PID, (id_t)lsp->child_pid, &temp.si, WEXITED | WNOHANG); in lws_spawn_reap()
306 n = waitpid(-lsp->child_pid, &status, WNOHANG); in lws_spawn_piped_kill_child_process()
310 n = waitpid(lsp->child_pid, &status, WNOHANG); in lws_spawn_piped_kill_child_process()
/third_party/rust/crates/nix/test/sys/
Dtest_ptrace.rs120 let _ = waitpid(child, Some(WaitPidFlag::WNOHANG)); in test_ptrace_cont()
122 let _ = waitpid(child, Some(WaitPidFlag::WNOHANG)); in test_ptrace_cont()
168 let _ = waitpid(child, Some(WaitPidFlag::WNOHANG)); in test_ptrace_interrupt()
170 let _ = waitpid(child, Some(WaitPidFlag::WNOHANG)); in test_ptrace_interrupt()
/third_party/python/Lib/multiprocessing/
Dpopen_forkserver.py61 def poll(self, flag=os.WNOHANG):
64 timeout = 0 if flag == os.WNOHANG else None
Dpopen_fork.py24 def poll(self, flag=os.WNOHANG):
43 return self.poll(os.WNOHANG if timeout == 0.0 else 0)
/third_party/ltp/testcases/kernel/syscalls/waitid/
Dwaitid02.c83 .options = WNOHANG,
91 .options = WNOHANG | WEXITED,
99 .options = WNOHANG | WEXITED,
/third_party/ltp/testcases/kernel/pty/
Dhangup01.c72 if (waitpid(childpid, &status, WNOHANG) < 0) { in cleanup()
146 while (waitpid(childpid, &status, WNOHANG) < 0 && errno != ESRCH) ; in parent()
/third_party/rust/crates/rustix/src/backend/libc/process/
Dwait.rs4 WCONTINUED, WEXITSTATUS, WIFCONTINUED, WIFEXITED, WIFSIGNALED, WIFSTOPPED, WNOHANG, WSTOPSIG,
/third_party/rust/crates/rustix/src/backend/linux_raw/process/
Dwait.rs4 pub(crate) use linux_raw_sys::general::{WCONTINUED, WNOHANG, WUNTRACED};
/third_party/toybox/toys/pending/
Dinit.c431 do pid = waitpid(-1,NULL,WNOHANG); while((pid==-1) && (errno=EINTR)); in pause_handler()
501 if (suspected_WNOHANG) suspected_WNOHANG=WNOHANG; in init_main()
508 suspected_WNOHANG = WNOHANG; in init_main()
/third_party/skia/third_party/externals/microhttpd/src/testzzuf/
Dsocat.c79 if (0 < waitpid (zzuf_pid, &status, WNOHANG)) in zzuf_socat_start()
/third_party/musl/libc-test/src/api/
Dsys_wait.c14 C(WNOHANG) in f()
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dwait.h36 #define WNOHANG 1 macro
/third_party/ltp/testcases/kernel/syscalls/kill/
Dkill09.c171 waitpid(0, &status, WNOHANG); in main()
/third_party/musl/porting/liteos_a/kernel/include/sys/
Dwait.h40 #define WNOHANG 1 macro
/third_party/musl/porting/uniproton/kernel/include/sys/
Dwait.h36 #define WNOHANG 1 macro
/third_party/musl/ndk_musl_include/sys/
Dwait.h36 #define WNOHANG 1 macro
/third_party/musl/include/sys/
Dwait.h36 #define WNOHANG 1 macro

12345