Lines Matching full:wait
108 // The following must be called without locking, and will spin wait until the
109 // threads are all in a wait state.
161 cv.TimedWait(kTenMs); // Wait for 10 ms.
162 cv.TimedWait(kTenMs); // Wait for 10 ms.
166 cv.TimedWait(kTenMs); // Wait for 10 ms.
167 cv.TimedWait(kTenMs); // Wait for 10 ms.
168 cv.TimedWait(kTenMs); // Wait for 10 ms.
203 queue.all_threads_have_ids()->Wait();
206 // If threads aren't in a wait state, they may start to gobble up tasks in
230 // Wait till we at least start to handle tasks (and we're not all waiting).
234 // Wait until all 10 work tasks have at least been assigned.
237 queue.no_more_tasks()->Wait();
250 // Wait to be sure all tasks are done.
274 // Wait till we at least start to handle tasks (and we're not all waiting).
276 // Wait to allow the all workers to get done.
280 // Wait until all work tasks have at least been assigned.
283 queue.no_more_tasks()->Wait();
298 // Wait till we at least start to handle tasks (and we're not all waiting).
300 // Wait to allow the 3 workers to get done.
319 // Wait till we at least start to handle tasks (and we're not all waiting).
321 // Wait to allow the 3 workers to get done.
340 // Wait till we at least start to handle tasks (and we're not all waiting).
342 // Wait to allow the 10 workers to get done.
359 // Wait till we at least start to handle tasks (and we're not all waiting).
361 // Wait to allow the 10 workers to get done.
383 Lock private_lock; // Used locally for master to wait.
390 queue.all_threads_have_ids()->Wait();
393 // Wait a bit more to allow threads to reach their wait state.
413 // Wait until we've handed out all tasks.
417 queue.no_more_tasks()->Wait();
420 // Wait till the last of the tasks complete.
441 // Wait until we've handed out all tasks
445 queue.no_more_tasks()->Wait();
448 // Wait till the last of the tasks complete.
465 // Wait for shutdowns to complete.
689 // a1) Wait on condition variable if there are no tasks currently.
715 work_is_available()->Wait();
734 // condition variable class, and do a timed wait.