Searched refs:wait (Results 1 - 25 of 295) sorted by relevance

1234567891011>>

/openjdk7/langtools/test/tools/javac/
H A DObject1.java42 public final native void wait(long timeout) throws InterruptedException; method in class:Object
43 public native final void wait(long timeout, int nanos) throws InterruptedException; method in class:Object
44 public native final void wait() throws InterruptedException; method in class:Object
H A DObject2.java42 public final native void wait(long timeout) throws InterruptedException; method in class:Object
43 public native final void wait(long timeout, int nanos) throws InterruptedException; method in class:Object
44 public native final void wait() throws InterruptedException; method in class:Object
H A DConditionalWithVoid.java34 // Should fail to compile since Object.wait() has a void return type.
35 System.out.println(o instanceof String ? o.hashCode() : o.wait());
/openjdk7/jdk/src/share/classes/java/lang/
H A DObject.java245 * monitor by calling one of the {@code wait} methods.
270 * @see java.lang.Object#wait()
277 * {@code wait} methods.
294 * @see java.lang.Object#wait()
299 * Causes the current thread to wait until either another thread invokes the
307 * place itself in the wait set for this object and then to relinquish
323 * The thread <var>T</var> is then removed from the wait set for this
328 * ante - that is, to the situation as of the time that the {@code wait}
330 * invocation of the {@code wait} method. Thus, on return from the
331 * {@code wait} metho
383 public final native void wait(long timeout) throws InterruptedException; method in class:Object
447 public final void wait(long timeout, int nanos) throws InterruptedException { method in class:Object
502 public final void wait() throws InterruptedException { method in class:Object
[all...]
/openjdk7/jdk/src/share/classes/sun/misc/
H A DLock.java71 * Acquire the lock. If someone else has the lock, wait until it
80 wait();
H A DConditionLock.java30 * provides the ability to wait for the state variable to be set to a
69 wait();
/openjdk7/jdk/src/macosx/native/sun/osxapp/
H A DThreadUtilities.m53 + (void)performOnMainThreadWaiting:(BOOL)wait block:(void (^)())block {
54 if ([NSThread isMainThread] && wait == YES) {
57 [JNFRunLoop performOnMainThreadWaiting:wait withBlock:block];
61 + (void)performOnMainThread:(SEL)aSelector on:(id)target withObject:(id)arg waitUntilDone:(BOOL)wait {
62 if ([NSThread isMainThread] && wait == YES) {
65 [JNFRunLoop performOnMainThread:aSelector on:target withObject:arg waitUntilDone:wait];
H A DThreadUtilities.h132 + (void)performOnMainThreadWaiting:(BOOL)wait block:(void (^)())block;
133 + (void)performOnMainThread:(SEL)aSelector on:(id)target withObject:(id)arg waitUntilDone:(BOOL)wait;
/openjdk7/hotspot/agent/test/libproc/
H A DLibprocTest.java35 myStr.wait();
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/orbutil/concurrent/
H A DMutex.java120 * // The method does not need to wait out other traversers
143 while (inuse_) wait();
173 wait(waitTime);
H A DDebugMutex.java120 * // The method does not need to wait out other traversers
154 while (inuse_) wait();
192 wait(waitTime);
H A DReentrantMutex.java122 * // The method does not need to wait out other traversers
179 wait();
222 wait();
324 wait(waitTime);
/openjdk7/hotspot/agent/test/jdi/
H A Dsagtarg.java48 myStr.wait();
/openjdk7/jdk/src/share/classes/sun/awt/
H A DMutex.java42 wait();
/openjdk7/jdk/test/java/lang/management/ThreadMXBean/
H A DBarrier.java55 go.wait();
H A DSemaphore.java48 go.wait();
/openjdk7/hotspot/src/share/vm/compiler/
H A DabstractCompiler.cpp43 CompileThread_lock->wait();
/openjdk7/jdk/src/share/classes/com/sun/jndi/ldap/pool/
H A DPoolCleaner.java38 * @param period ms to wait between cleaning
54 wait(period);
/openjdk7/jdk/src/macosx/native/sun/awt/
H A DPrintModel.h40 - (BOOL)runPrintLoopWithView:(NSView*)printerView waitUntilDone:(BOOL)wait withEnv:(JNIEnv *)env;
/openjdk7/jdk/test/java/awt/event/InvocationEvent/
H A DInvocationEventTest.java60 lock.wait();
/openjdk7/jdk/test/java/lang/ThreadGroup/
H A DStop.java71 lock.wait();
/openjdk7/jdk/src/solaris/back/
H A Dproc_md.h29 #include <sys/wait.h>
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/utilities/
H A DMessageQueueBackend.java68 readList.wait();
84 readList.wait(millis);
89 // If list is still empty after wait, return null
/openjdk7/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep/
H A DconcurrentMarkSweepThread.cpp125 CGC_lock->wait(true, 200);
134 CGC_lock->wait(true, 200);
203 { // Now wait until (all) CMS thread(s) have exited
206 Terminator_lock->wait();
255 CGC_lock->wait(true);
267 CGC_lock->wait(true);
313 CGC_lock->wait(Mutex::_no_safepoint_check_flag, t_millis);
334 // and wait some more
366 iCMS_lock->wait(Mutex::_no_safepoint_check_flag);
/openjdk7/jdk/src/macosx/native/jobjc/src/runtime-additions/java/com/apple/jobjc/
H A DUtils.java100 private static native void performRunnableOnMainThread(final Runnable runnable, final boolean wait); argument
109 public void performOnMainThread(final Runnable runnable, final boolean wait) { argument
110 performRunnableOnMainThread(runnable, wait);

Completed in 121 milliseconds

1234567891011>>