Searched refs:mEventFd (Results 1 – 2 of 2) sorted by relevance
/external/ot-br-posix/src/common/ |
D | task_runner.cpp | 51 VerifyOrDie(pipe(mEventFd) != -1, strerror(errno)); 53 flags = fcntl(mEventFd[kRead], F_GETFL, 0); 54 VerifyOrDie(fcntl(mEventFd[kRead], F_SETFL, flags | O_NONBLOCK) != -1, strerror(errno)); 55 flags = fcntl(mEventFd[kWrite], F_GETFL, 0); 56 VerifyOrDie(fcntl(mEventFd[kWrite], F_SETFL, flags | O_NONBLOCK) != -1, strerror(errno)); 61 if (mEventFd[kRead] != -1) in ~TaskRunner() 63 close(mEventFd[kRead]); in ~TaskRunner() 64 mEventFd[kRead] = -1; in ~TaskRunner() 66 if (mEventFd[kWrite] != -1) in ~TaskRunner() 68 close(mEventFd[kWrite]); in ~TaskRunner() [all …]
|
D | task_runner.hpp | 182 int mEventFd[2]; member in otbr::TaskRunner
|