Home
last modified time | relevance | path

Searched refs:mEventFd (Results 1 – 2 of 2) sorted by relevance

/external/ot-br-posix/src/common/
Dtask_runner.cpp51 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 …]
Dtask_runner.hpp182 int mEventFd[2]; member in otbr::TaskRunner