Home
last modified time | relevance | path

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

123

/external/strace/tests/
Dwait.c61 assert(wait4(pid, &s, WNOHANG | __WALL, NULL) == 0); in main()
62 assert(waitid(P_PID, pid, &info, WNOHANG | WEXITED) == 0); in main()
91 assert(wait4(-1, &s, WNOHANG | WUNTRACED | __WALL, &rusage) == -1); in main()
Dwait.expected1 wait4\([[:digit:]]+, 0x[[:xdigit:]]+, WNOHANG\|__WALL, NULL\) += 0
2 waitid\(P_PID, [[:digit:]]+, \{\}, WNOHANG\|WEXITED, NULL\) += 0
11 wait4\(-1, 0x[[:xdigit:]]+, WNOHANG\|WSTOPPED\|__WALL, 0x[[:xdigit:]]+\) += -1 ECHILD .*
/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()
Dtest_session_timeout.c247 while(waitpid(child,&childstatus,WNOHANG) != child); in parentproc()
Dtest_misc.c270 while(waitpid(child,&childstatus,WNOHANG) != child); in parentproc()
/external/curl/tests/
Dftp.pm146 waitpid($pid, &WNOHANG);
196 waitpid($pid, &WNOHANG);
214 waitpid($pid, &WNOHANG);
231 waitpid($pid, &WNOHANG);
/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()
Dwait.cc21 res = waitpid(pid, status, WNOHANG); in main()
Dwaitid.cc17 res = waitid(P_ALL, 0, si, WEXITED | WNOHANG); 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/tlsdate/src/events/
Dsigchld.c26 ret = waitid (P_ALL, -1, &info, WEXITED|WNOHANG); in handle_child_death()
89 ret = waitid (P_ALL, -1, &info, WSTOPPED|WCONTINUED|WNOHANG); in handle_child_stop()
/external/libchrome/base/process/
Dprocess_posix.cc57 pid_t ret_pid = HANDLE_EINTR(waitpid(handle, status, WNOHANG)); in WaitpidWithTimeout()
77 ret_pid = HANDLE_EINTR(waitpid(handle, status, WNOHANG)); in WaitpidWithTimeout()
313 pid_t pid = HANDLE_EINTR(waitpid(process_, NULL, WNOHANG)); in Terminate()
Dkill_posix.cc32 can_block ? 0 : WNOHANG)); in GetTerminationStatusImpl()
140 const pid_t result = HANDLE_EINTR(waitpid(child, NULL, WNOHANG)); in IsChildDead()
/external/kernel-headers/original/uapi/linux/
Dwait.h4 #define WNOHANG 0x00000001 macro
/external/fio/os/windows/posix/include/sys/
Dwait.h8 #define WNOHANG 1 macro
/external/google-breakpad/src/common/mac/
Dlaunch_reporter.cc69 pid_t result = waitpid(pid, &status, WNOHANG); in LaunchReporter()
/external/libmicrohttpd/src/testzzuf/
Dsocat.c79 if (0 < waitpid (zzuf_pid, &status, WNOHANG)) in zzuf_socat_start()
/external/toybox/toys/pending/
Dinit.c422 do pid = waitpid(-1,NULL,WNOHANG); while((pid==-1) && (errno=EINTR)); in pause_handler()
488 if (suspected_WNOHANG) suspected_WNOHANG=WNOHANG; in init_main()
495 suspected_WNOHANG = WNOHANG; in init_main()
/external/libbrillo/brillo/
Dprocess_reaper.cc59 int rc = HANDLE_EINTR(waitid(P_ALL, 0, &info, WNOHANG | WEXITED)); in HandleSIGCHLD()
/external/dhcpcd-6.8.2/compat/
Dposix_spawn.c117 waitpid(p, NULL, WNOHANG); in posix_spawn()
/external/autotest/server/
Dsubcommand_unittest.py163 (subcommand.os.waitpid.expect_call(1000, subcommand.os.WNOHANG)
172 (subcommand.os.waitpid.expect_call(1000, subcommand.os.WNOHANG)
182 (subcommand.os.waitpid.expect_call(1000, subcommand.os.WNOHANG)
/external/autotest/client/bin/
Dparallel.py99 (child_pid, status) = os.waitpid(pid, os.WNOHANG)
/external/libvncserver/libvncclient/
Dlisten.c91 while ((pid= wait3(&status, WNOHANG, (struct rusage *)0))>0); in listenForIncomingConnections()

123