MCPcopy Create free account
hub / github.com/apache/brpc / kevent

Class kevent

test/bthread_fd_unittest.cpp:109–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107 }
108# elif defined(OS_MACOSX)
109 struct kevent kqueue_event;
110 EV_SET(&kqueue_event, m->fd, EVFILT_READ, EV_ADD | EV_ENABLE | EV_ONESHOT,
111 0, 0, m);
112 kevent(m->epfd, &kqueue_event, 1, NULL, 0, NULL);

Callers 4

process_threadFunction · 0.70
epoll_threadFunction · 0.70
TESTFunction · 0.70
epoll_waiterFunction · 0.70

Calls

no outgoing calls

Tested by 4

process_threadFunction · 0.56
epoll_threadFunction · 0.56
TESTFunction · 0.56
epoll_waiterFunction · 0.56