Lines Matching refs:wait

107 # include <sys/wait.h>
880 // wait until os::start_thread()
882 sync->wait(Mutex::_no_safepoint_check_flag);
984 sync_with_child->wait(Mutex::_no_safepoint_check_flag);
2446 void wait();
2466 void Semaphore::wait() {
2546 static int check_pending_signals(bool wait) {
2555 if (!wait) {
3557 OSThreadWaitState osts(jt->osthread(), false /* not Object.wait() */);
3570 OSThreadWaitState osts(thread->osthread(), false /* not Object.wait() */);
3778 // wait here until we are resumed
3878 // managed to send the signal and switch to SUSPEND_REQUEST, now wait for SUSPENDED
3889 sr_semaphore.wait();
5268 // hang). The JVM is vulernable via sleep(), Object.wait(timo), LockSupport.parkNanos()
5275 // 1. Establish a minimum relative wait time. 50 to 100 msecs seems to work.
5297 // Subsequent timedwait/wait calls may hang indefinitely. Given that, we
5373 // Treat this the same as if the wait was interrupted
5411 // Object.wait(timo) will return because of
5490 // cond_{timed}wait() but the spurious wakeup is benign and the victim will
5502 * Park decrements count if > 0, else does a condvar wait. Unpark
5505 * is unparking you, so don't wait. And spurious returns are fine, so there
5584 // Check interrupt before trying to wait
5591 if (time < 0 || (isAbsolute && time == 0) ) { // don't wait at all
5607 // Don't wait if cannot get lock since interference arises from
5608 // unblocking. Also. check interrupt before trying wait
5614 if (_counter > 0) { // no wait needed
5632 OSThreadWaitState osts(thread->osthread(), false /* not Object.wait() */);
5855 // Now wait for the mem_notify device to wake up