Home | History | Annotate | Download | only in flip_server

Lines Matching defs:Events

24 // events. Note that enabling this code vastly slows
49 EpollEvent(int events, bool is_epoll_wait)
50 : in_events(events),
54 int in_events; // incoming events
131 // By default, we don't wait any amount of time for events, and
145 // in the set of events included in event_mask occurs on the
164 // the events for which the callback would like to be
226 // no longer request events when 'fd' is readable.
237 // request events when 'fd' is readable.
248 // no longer request events when 'fd' is writable.
259 // request events when 'fd' is writable.
278 // available publically so that events might be 'faked'. Calling
285 // event_mask - a bitmask representing the events which have occured
293 // wait for events and execute the callbacks associated with
294 // the file-descriptors on which those events have occured.
304 // from blocked to unblocked) events are sent. A callback can put itself on
307 // list will be called immediately after processing the events returned by
326 // Since the ready list cannot reliably determine proper set of events
371 // worse than the amount of time it takes to process all events in one
431 // WaitForEventsAndExecuteCallbacks function started to process events or
511 struct epoll_event* events,
514 return epoll_wait(epfd, events, max_events, timeout_in_ms);
626 // Events are removed before they are added, thus, if ~0 is put
633 // remove_event - the events which are to be removed from the current
635 // add_event - the events which are to be added to the current event_mask
643 // Waits for events, and calls HandleEvents() for each
650 struct epoll_event events[],
739 // When a number of events equals the record threshold,
742 // individual events (if you'reinterested in those, you'll
744 // After any such flushing to LOG(INFO) all events will
787 Events& events_for_fd = event_counts_[fd];
860 struct Events {
861 Events() :
890 friend ostream& operator<<(ostream& os, const Events& ev) {
945 std::vector<Events> unregistered_fds_;
946 typedef __gnu_cxx::hash_map<int, Events> EventCountsMap;