HomeSort by relevance Sort by last modified time
    Searched refs:kqueue (Results 1 - 8 of 8) sorted by null

  /external/lldb/source/Utility/
KQueue.cpp 1 //===--------------------- KQueue.cpp ---------------------------*- C++ -*-===//
10 #include "KQueue.h"
21 KQueue::GetFD (bool can_create)
24 m_fd = kqueue();
29 KQueue::Close ()
41 KQueue::WaitForEvents (struct kevent *events, int num_events, Error &error, uint32_t timeout_usec)
57 error.SetErrorString("invalid kqueue fd");
63 KQueue::AddFDEvent (int fd, bool read, bool write, bool vnode)
  /external/chromium_org/base/process/
kill_mac.cc 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 othe
    [all...]
kill_posix.cc 265 // Using kqueue on Mac so that we can wait on non-child processes.
273 ScopedFD kq(kqueue());
275 DPLOG(ERROR) << "kqueue";
430 // fashion. (No kqueue on Linux), so we just loop and sleep.
  /external/lldb/examples/interposing/darwin/fd_interposing/
FDInterposing.cpp 806 // kqueue() interpose function
809 kqueue$__interposed__ (void)
815 const int fd = ::kqueue ();
817 StringSP description_sp(new String ("pid=%i: kqueue () -> fd=%i", pid, fd));
826 return ::kqueue ();
    [all...]
  /external/chromium_org/chrome/browser/mac/
relauncher.cc 175 // guaranteed to have set up its kqueue monitoring this process for exit.
183 // with the parent by setting up a kqueue to watch for it to exit, writing a
184 // byte to the pipe, and then waiting for the exit notification on the kqueue.
202 // Set up a kqueue to monitor the parent process for exit.
203 base::ScopedFD kq(kqueue());
205 PLOG(ERROR) << "kqueue";
  /external/chromium_org/base/files/
file_path_watcher_kqueue.cc 191 // Iterate over events adding kevents for items that exist to the kqueue.
321 // Recursive watch is not supported using kqueue.
332 kqueue_ = kqueue();
334 DPLOG(ERROR) << "kqueue";
378 DPLOG(ERROR) << "close kqueue";
  /external/chromium_org/third_party/libevent/
kqueue.c 1 /* $OpenBSD: kqueue.c,v 1.5 2002/07/10 14:41:31 art Exp $ */
89 "kqueue",
104 /* Disable kqueue when this environment variable is set */
113 if ((kq = kqueue()) == -1) {
114 event_warn("kqueue");
142 /* Check for Mac OS X kqueue bug. */
147 * If kqueue works, then kevent will succeed, and it will
148 * stick an error in events[0]. If kqueue is broken, then
155 event_warn("%s: detected broken kqueue; not using.", __func__);
configure     [all...]

Completed in 124 milliseconds