Searched refs:EventCount (Results 1 – 4 of 4) sorted by relevance
28 MaxSizeVector<EventCount::Waiter> waiters(1); in test_basic_eventcount()30 EventCount ec(waiters); in test_basic_eventcount()31 EventCount::Waiter& w = waiters[0]; in test_basic_eventcount()85 MaxSizeVector<EventCount::Waiter> waiters(kThreads); in test_stress_eventcount()87 EventCount ec(waiters); in test_stress_eventcount()109 EventCount::Waiter& w = waiters[i]; in test_stress_eventcount()
49 class EventCount {53 EventCount(MaxSizeVector<Waiter>& waiters) : waiters_(waiters) { in EventCount() function59 ~EventCount() { in ~EventCount()171 friend class EventCount; variable227 EventCount(const EventCount&) = delete;228 void operator=(const EventCount&) = delete;
128 MaxSizeVector<EventCount::Waiter> waiters_;132 EventCount ec_;141 EventCount::Waiter* waiter = &waiters_[thread_id]; in WorkerLoop()195 bool WaitForWork(EventCount::Waiter* waiter, Task* t) { in WaitForWork()
53 #include "src/ThreadPool/EventCount.h"