Home | History | Annotate | Download | only in synchronization

Lines Matching refs:waiter

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