Searched refs:Waiter (Results 1 – 8 of 8) sorted by relevance
51 class Waiter;53 EventCount(MaxSizeVector<Waiter>& waiters) : waiters_(waiters) { in EventCount()67 void Prewait(Waiter* w) { in Prewait()73 void CommitWait(Waiter* w) { in CommitWait()74 w->state = Waiter::kNotSignaled; in CommitWait()106 void CancelWait(Waiter* w) { in CancelWait()148 Waiter* w = &waiters_[state & kStackMask]; in Notify()149 Waiter* wnext = w->next.load(std::memory_order_relaxed); in Notify()162 Waiter* w = &waiters_[state & kStackMask]; in Notify()170 class Waiter {[all …]
64 Waiter* w = waiters_.back(); in Schedule()91 Waiter w; in WorkerLoop()124 struct Waiter { struct139 MaxSizeVector<Waiter*> waiters_; // Stack of waiting threads. argument
128 MaxSizeVector<EventCount::Waiter> waiters_;141 EventCount::Waiter* waiter = &waiters_[thread_id]; in WorkerLoop()195 bool WaitForWork(EventCount::Waiter* waiter, Task* t) { in WaitForWork()
135 class Waiter {159 virtual ~Waiter() = default;250 bool Dequeue(Waiter* waiter, void* tag);255 std::list<Waiter*> waiters_;270 size_t count, Waiter* waiter);274 void Enqueue(Waiter* waiter);
89 class SyncWaiter : public WaitableEvent::Waiter {331 Waiter* waiter) { in EnqueueMany()385 for (std::list<Waiter*>::iterator in SignalAll()414 void WaitableEvent::Enqueue(Waiter* waiter) { in Enqueue()422 bool WaitableEvent::WaitableEventKernel::Dequeue(Waiter* waiter, void* tag) { in Dequeue()423 for (std::list<Waiter*>::iterator in Dequeue()
61 class AsyncWaiter : public WaitableEvent::Waiter {
39 private static final Waiter DEFAULT_WAITER = new Waiter();46 private final Waiter waiter;62 …Target(Handler mainHandler, int width, int height, boolean assertBackgroundThread, Waiter waiter) { in RequestFutureTarget()260 static class Waiter { class in RequestFutureTarget
28 MaxSizeVector<EventCount::Waiter> waiters(1); in test_basic_eventcount()31 EventCount::Waiter& w = waiters[0]; in test_basic_eventcount()85 MaxSizeVector<EventCount::Waiter> waiters(kThreads); in test_stress_eventcount()109 EventCount::Waiter& w = waiters[i]; in test_stress_eventcount()