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

Class kevent

src/bthread/fd.cpp:185–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183 closing_epoll_pipe[1], &evt) < 0) {
184#elif defined(OS_MACOSX)
185 struct kevent kqueue_event;
186 EV_SET(&kqueue_event, closing_epoll_pipe[1], EVFILT_WRITE, EV_ADD | EV_ENABLE,
187 0, 0, NULL);
188 if (kevent(saved_epfd, &kqueue_event, 1, NULL, 0, NULL) < 0) {

Callers 4

fd.cppFile · 0.70
fd_waitFunction · 0.70
fd_closeFunction · 0.70
runFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected