Home | History | Annotate | Download | only in synchronization

Lines Matching full:wait

7 // several threads wait for an event, as is common with a thread pool managed
23 // while (!work_to_be_done()) Wait(...);
27 // if (!work_to_be_done()) Wait(...); // Don't do this.
36 // called Wait(). This results in POOR performance. A much better
37 // approach to getting a lot of threads out of Wait() is to have each
38 // thread (upon exiting Wait()) call Signal() to free up another
39 // Wait'ing thread. Look at condition_variable_unittest.cc for
49 // all, while others allow the wait to be effectively turned off (for
56 // assures that the thread that most recently began to Wait() is selected by
58 // thread that has Wait()ed the longest is selected. The default policy
90 // Wait() releases the caller's critical section atomically as it starts to
92 void Wait();
108 base::Lock* user_lock_; // Needed to adjust shadow lock state on wait.