Lines Matching refs:Event
7 // several threads wait for an event, as is common with a thread pool managed
8 // by a master. The meaning of such an event in the (worker) thread pool
106 // Define Event class that is used to form circularly linked lists.
112 class Event {
115 Event();
116 ~Event();
123 void PushBack(Event* other);
124 Event* PopFront();
125 Event* PopBack();
131 Event* Extract();
138 bool ValidateAsDistinct(Event* other) const;
144 Event* next_;
145 Event* prev_;
146 DISALLOW_COPY_AND_ASSIGN(Event);
154 Event* GetEventForWaiting();
155 void RecycleEvent(Event* used_event);
166 Event waiting_list_;
169 Event recycling_list_;