Home | History | Annotate | Download | only in synchronization

Lines Matching full:tasks

136   int shutdown_task_count_;  // Number of tasks told to shutdown
137 int task_count_; // Number of assignment tasks waiting to be processed.
196 const int kTaskCount = 10; // Number of tasks in each mini-test here.
206 // If threads aren't in a wait state, they may start to gobble up tasks in
211 // Since we have no tasks yet, all threads should be waiting by now.
220 // Set up to make one worker do 30ms tasks sequentially.
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.
238 // The last of the tasks *might* still be running, but... all but one should
239 // be done by now, since tasks are being done serially.
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).
280 // Wait until all work tasks have at least been assigned.
298 // Wait till we at least start to handle tasks (and we're not all waiting).
319 // Wait till we at least start to handle tasks (and we're not all waiting).
335 queue.SetTaskCount(20); // 2 tasks per thread.
340 // Wait till we at least start to handle tasks (and we're not all waiting).
354 queue.SetTaskCount(20); // 2 tasks per thread.
359 // Wait till we at least start to handle tasks (and we're not all waiting).
397 // Since we have no tasks, all threads should be waiting by now.
406 // Set up to make all workers do (an average of) 20 tasks.
413 // Wait until we've handed out all tasks.
420 // Wait till the last of the tasks complete.
425 // but with racing.. they may not all have done equal numbers of tasks.
433 // Set up to make all workers do (an average of) 4 tasks.
441 // Wait until we've handed out all tasks
448 // Wait till the last of the tasks complete.
453 // but with racing.. they may not all have done four tasks.
688 // a) Check to see if there are more tasks (there is a task counter).
689 // a1) Wait on condition variable if there are no tasks currently.
696 // ask about tasks.