Lines Matching defs:wait
68 QueueCondition.wait(LockGuard, [&] {
82 // in order for wait() to properly detect that even if the queue is
88 // would never be 0 if waiting for another group inside a wait.
113 // Adjust `ActiveThreads`, in case someone waits on StdThreadPool::wait()
125 // someone waits on StdThreadPool::wait().
129 // in this function on QueueCondition, to make a recursive wait() return
144 void StdThreadPool::wait() {
148 CompletionCondition.wait(LockGuard,
152 void StdThreadPool::wait(ThreadPoolTaskGroup &Group) {
156 CompletionCondition.wait(LockGuard,
201 void SingleThreadExecutor::wait() {
210 void SingleThreadExecutor::wait(ThreadPoolTaskGroup &) {
211 // Simply wait for all, this works even if recursive (the running task
213 wait();
220 SingleThreadExecutor::~SingleThreadExecutor() { wait(); }