Home
last modified time | relevance | path

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

12

/external/chromium/base/
Dprocess_util_posix.cc77 pid_t ret_pid = HANDLE_EINTR(waitpid(handle, &status, WNOHANG)); in WaitpidWithTimeout()
98 ret_pid = HANDLE_EINTR(waitpid(handle, &status, WNOHANG)); in WaitpidWithTimeout()
238 pid_t pid = HANDLE_EINTR(waitpid(process_id, NULL, WNOHANG)); in KillProcess()
698 const pid_t result = HANDLE_EINTR(waitpid(handle, &status, WNOHANG)); in GetTerminationStatus()
/external/qemu/
Diohandler.c158 if (waitpid(rec->pid, NULL, WNOHANG) == rec->pid) { in sigchld_bh_handler()
Dvl-android-ui.c181 waitpid(-1, NULL, WNOHANG); in sigchld_handler()
Dos-posix.c72 waitpid(-1, NULL, WNOHANG); in sigchld_handler()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_symbolizer_linux.cc114 int exited_pid = waitpid(pid, &pid_status, WNOHANG); in StartSymbolizerSubprocess()
/external/e2fsprogs/misc/
Dlogsave.c200 while (!(waitpid(pid, &status, WNOHANG ))) { in run_program()
Dfsck.c586 if ((pid == 0) && (flags & WNOHANG)) in wait_one()
682 if (noexecute && (flags & WNOHANG) && !(random() % 3)) in wait_many()
686 wait_flags = WNOHANG; in wait_many()
/external/dropbear/
Dsvr-main.c336 while(waitpid(-1, NULL, WNOHANG) > 0); in sigchld_handler()
Dsvr-chansession.c91 while ((pid = waitpid(-1, &status, WNOHANG)) > 0) { in sesssigchild_handler()
/external/mtpd/
Dmtpd.c220 if (signal == SIGCHLD && waitpid(pppd_pid, &status, WNOHANG) == pppd_pid in main()
/external/kernel-headers/original/linux/
Dwait.h4 #define WNOHANG 0x00000001 macro
/external/netperf/
Dnetcpu_looper.c460 while(waitpid(-1, NULL, WNOHANG) > 0) { } in cpu_util_terminate()
Dnetserver.c738 while(waitpid(-1, NULL, WNOHANG) > 0) { } in set_up_server()
/external/iproute2/misc/
Drtacct.c408 while (children && waitpid(-1, &status, WNOHANG) > 0) in server_loop()
Dnstat.c417 while (children && waitpid(-1, &status, WNOHANG) > 0) in server_loop()
Difstat.c532 while (children && waitpid(-1, &status, WNOHANG) > 0) in server_loop()
/external/v8/src/
Dd8-posix.cc390 waitid(P_PID, pid, &child_info, WEXITED | WNOHANG | WNOWAIT); in WaitForChild()
/external/strace/
Dprocess.c1815 { WNOHANG, "WNOHANG" },
2003 if (!(tcp->u_arg[flagarg] & WNOHANG)) {
2045 if (tcp->u_arg[flagarg] & WNOHANG) {
DNEWS267 in waitpid calls with WNOHANG.
/external/openssh/
Dserverloop.c809 while ((pid = waitpid(-1, &status, WNOHANG)) > 0 || in collect_children()
Dauth-pam.c152 if (waitpid(cleanup_ctxt->pam_thread, &sshpam_thread_status, WNOHANG) in sshpam_sigchld_handler()
Dssh.c1581 while ((pid = waitpid(-1, &status, WNOHANG)) > 0 || in main_sigchld_handler()
/external/libppp/src/
Dchat.c766 waitpid(pid, &stat, WNOHANG); in ExecStr()
/external/dnsmasq/src/
Ddnsmasq.c841 while ((p = waitpid(-1, NULL, WNOHANG)) != 0) in async_event()
/external/ppp/pppd/
Dmain.c1800 while ((pid = waitpid(-1, &status, WNOHANG)) != -1 && pid != 0) { in reap_kids()

12