Home | History | Annotate | Download | only in synchronization

Lines Matching defs:Waiter

113   class Waiter {
115 // Signal the waiter to wake up.
117 // Consider the case of a Waiter which is in multiple WaitableEvent's
119 // signaled at the same time. Now, each will wake only the first waiter in
122 // to dequeue the waiter from the other wait-list in time), two auto-resets
123 // will have happened, but only one waiter has been signaled!
125 // Because of this, a Waiter may "reject" a wake by returning false. In
137 virtual ~Waiter() {}
159 bool Dequeue(Waiter* waiter, void* tag);
164 std::list<Waiter*> waiters_;
179 size_t count, Waiter* waiter);
183 void Enqueue(Waiter* waiter);