Searched refs:read_fds (Results 1 – 1 of 1) sorted by relevance
197 void setUpFileDescriptorSet(SocketWaiter *read_fds) { in setUpFileDescriptorSet() argument199 read_fds->update(notification_listen_fd_, SocketWaiter::Event::kEventRead); in setUpFileDescriptorSet()205 read_fds->update(fdp.first, SocketWaiter::Event::kEventRead); in setUpFileDescriptorSet()211 bool consumeThreadNotifications(SocketWaiter *read_fds) { in consumeThreadNotifications() argument212 if (read_fds->pendingEventsFor(notification_listen_fd_)) { in consumeThreadNotifications()224 void runAppropriateCallbacks(SocketWaiter *read_fds) { in runAppropriateCallbacks() argument230 auto pending = read_fds->pendingEventsFor(fdc.first); in runAppropriateCallbacks()242 auto read_fds = std::unique_ptr<SocketWaiter>(SocketWaiter::create()); in ThreadRoutine() local244 read_fds->reset(); in ThreadRoutine()245 setUpFileDescriptorSet(read_fds.get()); in ThreadRoutine()[all …]