Lines Matching defs:Events
25 // 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
505 struct epoll_event* events,
618 // Events are removed before they are added, thus, if ~0 is put
625 // remove_event - the events which are to be removed from the current
627 // add_event - the events which are to be added to the current event_mask
635 // Waits for events, and calls HandleEvents() for each
642 struct epoll_event events[],
731 // When a number of events equals the record threshold,
734 // individual events (if you'reinterested in those, you'll
736 // After any such flushing to LOG(INFO) all events will
779 Events& events_for_fd = event_counts_[fd];
852 struct Events {
853 Events() :
882 friend ostream& operator<<(ostream& os, const Events& ev) {
937 std::vector<Events> unregistered_fds_;
938 typedef __gnu_cxx::hash_map<int, Events> EventCountsMap;