Lines Matching defs:wait
29 // Check that std::terminate is called if wait(...) fails to meet its post
34 // 1. void wait(Lock& lock);
35 // 2. void wait(Lock& lock, Pred);
40 // 7. bool wait(Lock& lock, stop_token stoken, Predicate pred);
55 // 5 From the main thread call the specified wait method on 'cv' with 'm'.
56 // When 'T2' notifies 'cv' and the wait method attempts to re-lock
59 // 6 Check that control flow does not return from the wait method and that
81 // The predicate used in the cv.wait calls.
115 while (mut.isLocked()) {} // wait until T1 releases mut inside the cv.wait call.
128 MS wait(250);
134 case 1: cv.wait(mut); break;
135 case 2: cv.wait(mut, pred_function); break;
136 case 3: cv.wait_for(mut, wait); break;
137 case 4: cv.wait_for(mut, wait, pred_function); break;
138 case 5: cv.wait_until(mut, Clock::now() + wait); break;
139 case 6: cv.wait_until(mut, Clock::now() + wait, pred_function); break;
141 case 7: cv.wait(mut, std::stop_source{}.get_token(), pred_function); break;
142 case 8: cv.wait_for(mut, std::stop_source{}.get_token(), wait, pred_function); break;
143 case 9: cv.wait_until(mut, std::stop_source{}.get_token(), Clock::now() + wait, pred_function); break;