Searched refs:msecs (Results 1 - 7 of 7) sorted by relevance

/openjdk9/corba/src/java.corba/share/classes/com/sun/corba/se/impl/orbutil/concurrent/
H A DMutex.java158 public boolean attempt(long msecs) throws InterruptedException { argument
165 else if (msecs <= 0)
168 long waitTime = msecs;
178 waitTime = msecs - (System.currentTimeMillis() - start);
H A DDebugMutex.java176 public boolean attempt(long msecs) throws InterruptedException { argument
185 } else if (msecs <= 0)
188 long waitTime = msecs;
199 waitTime = msecs - (System.currentTimeMillis() - start);
H A DSync.java298 * Wait at most msecs to pass; report whether passed.
301 * The msecs bound cannot
306 * So, msecs arguments should be used in
313 * @param msecs the number of milleseconds to wait.
321 public boolean attempt(long msecs) throws InterruptedException; argument
H A DCondVar.java110 * public boolean offer(Object x, long msecs) throws InterruptedException {
114 * notFull.timedwait(msecs);
129 * public Object poll(long msecs) throws InterruptedException {
134 * notEmpty.timedwait(msecs);
264 * Wait for at most msecs for notification.
268 * @param msecs The time to wait. A value less than or equal to zero
271 * @return false if at least msecs have elapsed
280 public boolean timedwait(long msecs) throws InterruptedException { argument
295 if (msecs > 0) {
297 wait(msecs);
[all...]
H A DReentrantMutex.java299 public boolean attempt(long msecs) throws InterruptedException { argument
306 ORBUtility.dprintTrace( this, "attempt enter: msecs=" +
307 msecs + " holder_=" +
317 } else if (msecs <= 0) {
320 long waitTime = msecs;
330 waitTime = msecs -
/openjdk9/jdk/test/java/awt/FullScreen/BufferStrategyExceptionTest/
H A DBufferStrategyExceptionTest.java87 private static void sleep(long msecs) { argument
89 Thread.sleep(msecs);
/openjdk9/jdk/test/com/sun/jdi/
H A DTestScaffold.java865 public void resumeForMsecs(long msecs) { argument
881 System.out.println("Sleeping for " + msecs + " milleseconds");
882 Thread.sleep(msecs);

Completed in 114 milliseconds