Home | History | Annotate | Download | only in process

Lines Matching refs:kqueue

34 // This function takes two approaches: first, it tries to use kqueue to
35 // observe when the process exits. kevent can monitor a kqueue with a
37 // time. Once the kqueue indicates the process has exited, waitpid will reap
38 // the exited child. If the kqueue doesn't provide an exit event notification,
39 // before the timeout expires, or if the kqueue fails or misbehaves, the
47 // time that kqueue will no longer recognize it and when it becomes an actual
49 // detected when kqueue indicates that the process is not running and a
54 // In the event that the kqueue misbehaves entirely, as it might under a
65 // to wait on a process that's not even a child is also a problem: kqueue will
73 // |child| has been reaped. Specifically, even if a kqueue, kevent, or other
80 ScopedFD kq(HANDLE_EINTR(kqueue()));
82 DPLOG(ERROR) << "kqueue()";
110 // short order. Fall back out of the kqueue code to kill it (for good