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

/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/orbutil/concurrent/
H A DMutex.java159 public boolean attempt(long msecs) throws InterruptedException { argument
166 else if (msecs <= 0)
169 long waitTime = msecs;
179 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.java299 * Wait at most msecs to pass; report whether passed.
302 * The msecs bound cannot
307 * So, msecs arguments should be used in
314 * @param msecs the number of milleseconds to wait.
322 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);
265 * Wait for at most msecs for notification.
269 * @param msecs The time to wait. A value less than or equal to zero
272 * @return false if at least msecs have elapsed
281 public boolean timedwait(long msecs) throws InterruptedException { argument
296 if (msecs > 0) {
298 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 -
/openjdk7/jdk/src/solaris/demo/jni/Poller/
H A DLinkedQueue.java142 public boolean offer(Object x, long msecs) throws InterruptedException { argument
192 public Object poll(long msecs) throws InterruptedException { argument
200 long waitTime = msecs;
201 long start = (msecs <= 0)? 0 : System.currentTimeMillis();
211 waitTime = msecs - (System.currentTimeMillis() - start);
/openjdk7/jdk/test/java/awt/FullScreen/BufferStrategyExceptionTest/
H A DBufferStrategyExceptionTest.java86 private static void sleep(long msecs) { argument
88 Thread.sleep(msecs);
/openjdk7/jdk/test/com/sun/jdi/
H A DTestScaffold.java856 public void resumeForMsecs(long msecs) { argument
872 System.out.println("Sleeping for " + msecs + " milleseconds");
873 Thread.sleep(msecs);

Completed in 48 milliseconds