Lines Matching defs:wait
1976 void WindowsSemaphore::wait() {
3573 OSThreadWaitState osts(osthread, false /* not Object.wait() */);
3903 // - A thread trying to terminate the process must wait for all
3942 res = WaitForSingleObject(handles[i], 0 /* don't wait */);
3956 // wait until at least one thread completes exiting.
4058 // Avoid busy-wait loop, if SuspendThread() failed.
5070 // could have been signaled after a wait started
5105 // We trust the WAIT_TIMEOUT indication and don't track the elapsed wait time
5108 // to happen early in the wait interval. Specifically, after a spurious wakeup (rv ==
5111 // In the future, however, we might want to track the accumulated wait time and
5205 if (time < 0) { // don't wait
5223 // Don't wait if interrupted or already triggered
5230 OSThreadWaitState osts(thread->osthread(), false /* not Object.wait() */);