Lines Matching defs:Waiter
102 class Waiter {
104 // Signal the waiter to wake up.
106 // Consider the case of a Waiter which is in multiple WaitableEvent's
108 // signaled at the same time. Now, each will wake only the first waiter in
111 // to dequeue the waiter from the other wait-list in time), two auto-resets
112 // will have happened, but only one waiter has been signaled!
114 // Because of this, a Waiter may "reject" a wake by returning false. In
126 virtual ~Waiter() {}
148 bool Dequeue(Waiter* waiter, void* tag);
153 std::list<Waiter*> waiters_;
168 size_t count, Waiter* waiter);
172 void Enqueue(Waiter* waiter);