Lines Matching refs:BlockingCounter
147 // A BlockingCounter lets one thread to wait for N events to occur.
150 class BlockingCounter {
152 BlockingCounter() : count_(0), initial_count_(0) {
157 ~BlockingCounter() {
192 // to hit the BlockingCounter.
194 ScopedProfilingLabel label("BlockingCounter::Wait");
237 explicit Worker(BlockingCounter* counter_to_decrement_when_ready)
351 // pointer to the master's thread BlockingCounter object, to notify the
353 BlockingCounter* const counter_to_decrement_when_ready_;
418 // The BlockingCounter used to wait for the workers.
419 BlockingCounter counter_to_decrement_when_ready_;