Searched defs:sleep (Results 1 - 25 of 31) sorted by relevance

12

/openjdk7/jdk/src/share/sample/scripting/scriptpad/src/resources/
H A Dconc.js185 * Causes current thread to sleep for specified
190 function sleep(interval) { function
191 java.lang.Thread.sleep(interval);
193 sleep.docString = "wrapper for java.lang.Thread.sleep method";
200 * @param interval in milliseconds to sleep
212 sleep(interval);
/openjdk7/jdk/test/java/awt/Dialog/ValidateOnShow/
H A DValidateOnShow.java44 private static void sleep() { method in class:ValidateOnShow
45 try { Thread.sleep(500); } catch (Exception e) {}
51 sleep();
60 sleep();
75 sleep();
/openjdk7/jdk/test/java/awt/FullScreen/BufferStrategyExceptionTest/
H A DBufferStrategyExceptionTest.java80 sleep(100);
86 private static void sleep(long msecs) { method in class:BufferStrategyExceptionTest
88 Thread.sleep(msecs);
/openjdk7/jdk/test/sun/net/InetAddress/nameservice/simple/
H A DDefaultCaching.java50 sleep (10+1);
52 sleep (5);
63 sleep (5);
68 sleep (11);
74 sleep (10+6);
92 static void sleep (int seconds) { method in class:DefaultCaching
94 Thread.sleep (seconds * 1000);
/openjdk7/jdk/src/windows/back/
H A Dproc_md.h43 #define sleep _sleep macro
/openjdk7/jdk/test/java/awt/EventQueue/SecondaryLoopTest/
H A DSecondaryLoopTest.java66 sleep(1000);
78 sleep(2000);
118 private static void sleep(long t) { method in class:SecondaryLoopTest
120 Thread.sleep(t);
/openjdk7/jdk/test/java/awt/FullScreen/FullScreenInsets/
H A DFullScreenInsets.java58 sleep();
66 sleep();
75 sleep();
80 sleep();
85 sleep();
149 private static void sleep() { method in class:FullScreenInsets
152 Thread.sleep(2000);
/openjdk7/jdk/test/java/lang/ClassLoader/deadlock/
H A DStarter.java79 public static void sleep() { method in class:Starter
81 Thread.sleep(500);
/openjdk7/jdk/test/javax/management/ObjectInstance/
H A DMBeanInfoFailTest.java47 public void setDormant(boolean sleep); argument
52 private boolean sleep=true; field in class:MBeanInfoFailTest.ThornyDevil
57 return this.sleep;
59 public void setDormant(boolean sleep) { argument
60 this.sleep = sleep;
/openjdk7/jdk/test/java/awt/Component/Revalidate/
H A DRevalidate.java44 private static void sleep() { method in class:Revalidate
45 try { Thread.sleep(500); } catch (Exception e) {}
79 sleep();
83 sleep();
87 sleep();
91 sleep();
95 sleep();
100 sleep();
104 sleep();
108 sleep();
[all...]
/openjdk7/jdk/test/java/awt/FullScreen/NoResizeEventOnDMChangeTest/
H A DNoResizeEventOnDMChangeTest.java138 sleep(1000);
162 sleep(1000);
192 static void sleep(long ms) { method in class:NoResizeEventOnDMChangeTest
194 Thread.sleep(ms);
/openjdk7/jdk/test/java/nio/channels/Selector/
H A DWakeup.java38 static void sleep(int millis) { method in class:Wakeup
40 Thread.sleep(millis);
105 sleep(50);
122 sleep(50);
145 sleep(50);
179 sleep(50);
/openjdk7/jdk/test/java/util/ResourceBundle/Control/
H A DExpirationTest.java42 // the program exits with 2. (See sleep())
46 sleep(3);
67 sleep(7);
79 sleep(33);
120 private static void sleep(int seconds) { method in class:ExpirationTest
124 Thread.sleep(millis);
129 // If the latecy is more than 1% of the requested sleep time,
/openjdk7/jdk/test/java/util/Timer/
H A DDelayOverflow.java59 void sleep(long millis) { method in class:DelayOverflow
60 try { Thread.sleep(millis); }
89 sleep(10);
/openjdk7/jdk/test/com/sun/nio/sctp/SctpServerChannel/
H A DAccept.java92 sleep(500);
97 sleep(500);
260 void sleep(long millis) { try { Thread.currentThread().sleep(millis); } method in class:Accept
H A DNonBlockingAccept.java91 sleep(100);
218 void sleep(long millis) { try { Thread.currentThread().sleep(millis); } method in class:NonBlockingAccept
/openjdk7/jdk/test/java/beans/PropertyChangeSupport/
H A DTest4682386.java182 private static void sleep(long ms) { method in class:Test4682386
184 Thread.sleep(ms);
204 sleep(25L);
218 sleep(100L);
245 sleep(40L);
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DTimeUnit.java286 * sleep, join.
347 * Performs a {@link Thread#sleep(long, int) Thread.sleep} using
350 * form required by the <tt>Thread.sleep</tt> method.
352 * @param timeout the minimum time to sleep. If less than
353 * or equal to zero, do not sleep at all.
356 public void sleep(long timeout) throws InterruptedException { method in class:TimeUnit
360 Thread.sleep(ms, ns);
/openjdk7/hotspot/src/share/vm/utilities/
H A Dtaskqueue.cpp156 void ParallelTaskTerminator::sleep(uint millis) { function in class:ParallelTaskTerminator
158 os::sleep(Thread::current(), millis, false);
194 // Periodically sleep() instead of yield() to give threads
198 // to sleep, count this as a yield.
231 // A sleep will cause this processor to seek work on another processor's
235 sleep(WorkStealingSleepMillis);
/openjdk7/jdk/test/com/sun/nio/sctp/SctpChannel/
H A DCommUp.java352 void sleep(long millis) { try { Thread.currentThread().sleep(millis); } method in class:CommUp
/openjdk7/jdk/src/share/demo/scripting/jconsole-plugin/src/resources/
H A Djconsole.js526 * Causes current thread to sleep for specified
531 function sleep(interval) { function
532 java.lang.Thread.sleep(interval);
534 sleep.docString = "wrapper for java.lang.Thread.sleep method";
541 * @param interval in milliseconds to sleep
553 sleep(interval);
/openjdk7/jdk/src/share/native/com/sun/java/util/jar/pack/
H A Ddefines.h112 #define sleep Sleep macro
/openjdk7/jdk/test/java/nio/channels/
H A DAsyncCloseAndInterrupt.java48 static void sleep(int ms) { method in class:AsyncCloseAndInterrupt
50 Thread.sleep(ms);
505 sleep(200);
565 sleep(50);
568 sleep(100);
/openjdk7/jdk/src/share/classes/javax/swing/
H A DDebugGraphics.java355 sleep(info.flashTime);
389 sleep(info.flashTime);
423 sleep(info.flashTime);
461 sleep(info.flashTime);
499 sleep(info.flashTime);
533 sleep(info.flashTime);
568 sleep(info.flashTime);
603 sleep(info.flashTime);
636 sleep(info.flashTime);
669 sleep(inf
1299 final void sleep(int mSecs) { method in class:DebugGraphics
[all...]
/openjdk7/jdk/src/share/classes/java/lang/
H A DThread.java285 * Causes the currently executing thread to sleep (temporarily cease
291 * the length of time to sleep in milliseconds
301 public static native void sleep(long millis) throws InterruptedException; method in class:Thread
304 * Causes the currently executing thread to sleep (temporarily cease
311 * the length of time to sleep in milliseconds
314 * {@code 0-999999} additional nanoseconds to sleep
325 public static void sleep(long millis, int nanos) method in class:Thread
340 sleep(millis);
902 * #join(long, int)}, {@link #sleep(long)}, or {@link #sleep(lon
[all...]

Completed in 119 milliseconds

12