Lines Matching defs:wait
90 # include <sys/wait.h>
713 // wait until os::start_thread()
715 sync->wait(Mutex::_no_safepoint_check_flag);
796 sync_with_child->wait(Mutex::_no_safepoint_check_flag);
1951 void OSXSemaphore::wait() {
1956 assert(ret == KERN_SUCCESS, "Failed to wait on semaphore");
2032 static int check_pending_signals(bool wait) {
2041 if (!wait) {
2757 // wait here until we are resumed
2859 // managed to send the signal and switch to SUSPEND_REQUEST, now wait for SUSPENDED
2870 sr_semaphore.wait();
4041 // could have been signaled after a wait started
4097 // Treat this the same as if the wait was interrupted
4140 // Object.wait(timo) will return because of
4204 // cond_{timed}wait() but the spurious wakeup is benign and the victim
4207 // provide wait morphing.
4220 // Park decrements count if > 0, else does a condvar wait. Unpark
4223 // is unparking you, so don't wait. And spurious returns are fine, so there
4297 // Check interrupt before trying to wait
4304 if (time < 0 || (isAbsolute && time == 0)) { // don't wait at all
4320 // Don't wait if cannot get lock since interference arises from
4321 // unblocking. Also. check interrupt before trying wait
4327 if (_counter > 0) { // no wait needed
4345 OSThreadWaitState osts(thread->osthread(), false /* not Object.wait() */);