Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/osi/src/
Dreactor.cc45 int event_fd; member
74 ret->event_fd = INVALID_FD; in reactor_new()
82 ret->event_fd = eventfd(0, 0); in reactor_new()
83 if (ret->event_fd == INVALID_FD) { in reactor_new()
99 if (epoll_ctl(ret->epoll_fd, EPOLL_CTL_ADD, ret->event_fd, &event) == -1) { in reactor_new()
116 close(reactor->event_fd); in reactor_free()
135 eventfd_write(reactor->event_fd, EVENT_REACTOR_STOP); in reactor_stop()
260 eventfd_read(reactor->event_fd, &value); in run_reactor()