Searched refs:stopFd (Results 1 – 1 of 1) sorted by relevance
29 int stopFd; member65 reactor->stopFd = -1; in ReactorCreate()73 int stopFd = eventfd(0, 0); in ReactorCreate() local74 if (stopFd == -1) { in ReactorCreate()83 if (epoll_ctl(epollFd, EPOLL_CTL_ADD, stopFd, &event) == -1) { in ReactorCreate()97 reactor->stopFd = stopFd; in ReactorCreate()114 close(reactor->stopFd); in ReactorDelete()142 eventfd_read(reactor->stopFd, &val); in ReactorStart()178 eventfd_write(reactor->stopFd, 1); in ReactorStop()