Searched refs:LockSupport (Results 1 – 11 of 11) sorted by relevance
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | LockSupportTest.java | 15 import java.util.concurrent.locks.LockSupport; 31 LockSupport.park(); in park() 39 LockSupport.parkUntil(deadline(millis)); in parkUntil() 44 LockSupport.parkNanos(MILLISECONDS.toNanos(millis)); in parkNanos() 49 LockSupport.park(theBlocker()); in parkBlocker() 57 LockSupport.parkUntil(theBlocker(), deadline(millis)); in parkUntilBlocker() 62 LockSupport.parkNanos(theBlocker(), in parkNanosBlocker() 107 LockSupport.unpark(t); in testParkBeforeUnpark() 144 LockSupport.unpark(t); in testParkAfterUnpark() 262 LockSupport.getBlocker(null); in testGetBlockerNull() [all …]
|
/libcore/luni/src/main/java/java/util/concurrent/locks/ |
D | LockSupport.java | 91 public class LockSupport { class 92 private LockSupport() {} // Cannot be instantiated. in LockSupport() method in LockSupport
|
D | AbstractQueuedSynchronizer.java | 641 LockSupport.unpark(s.thread); in unparkSuccessor() 813 LockSupport.park(this); in parkAndCheckInterrupt() 911 LockSupport.parkNanos(this, nanosTimeout); in doAcquireNanos() 1014 LockSupport.parkNanos(this, nanosTimeout); in doAcquireSharedNanos() 1663 LockSupport.unpark(node.thread); in transferForSignal() 1953 LockSupport.park(this); in awaitUninterruptibly() 2016 LockSupport.park(this); in await() 2055 LockSupport.parkNanos(this, nanosTimeout); in awaitNanos() 2097 LockSupport.parkUntil(this, abstime); in awaitUntil() 2140 LockSupport.parkNanos(this, nanosTimeout); in await()
|
D | AbstractQueuedLongSynchronizer.java | 411 LockSupport.unpark(s.thread); in unparkSuccessor() 583 LockSupport.park(this); in parkAndCheckInterrupt() 681 LockSupport.parkNanos(this, nanosTimeout); in doAcquireNanos() 784 LockSupport.parkNanos(this, nanosTimeout); in doAcquireSharedNanos() 1433 LockSupport.unpark(node.thread); in transferForSignal() 1725 LockSupport.park(this); in awaitUninterruptibly() 1788 LockSupport.park(this); in await() 1827 LockSupport.parkNanos(this, nanosTimeout); in awaitNanos() 1869 LockSupport.parkUntil(this, abstime); in awaitUntil() 1912 LockSupport.parkNanos(this, nanosTimeout); in await()
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | FutureTask.java | 8 import java.util.concurrent.locks.LockSupport; 343 LockSupport.unpark(t); in finishCompletion() 397 LockSupport.parkNanos(this, nanos); in awaitDone() 400 LockSupport.park(this); in awaitDone()
|
D | SynchronousQueue.java | 9 import java.util.concurrent.locks.LockSupport; 234 LockSupport.unpark(w); in tryMatch() 427 LockSupport.park(this); in awaitFulfill() 429 LockSupport.parkNanos(this, nanos); in awaitFulfill() 692 LockSupport.unpark(m.waiter); in transfer() 731 LockSupport.park(this); in awaitFulfill() 733 LockSupport.parkNanos(this, nanos); in awaitFulfill()
|
D | Phaser.java | 12 import java.util.concurrent.locks.LockSupport; 953 LockSupport.unpark(t); in releaseWaiters() 977 LockSupport.unpark(t); in abortWait() 1111 LockSupport.park(this); in block() 1113 LockSupport.parkNanos(this, nanos); in block()
|
D | LinkedTransferQueue.java | 15 import java.util.concurrent.locks.LockSupport; 500 LockSupport.unpark(waiter); in tryMatchData() 600 LockSupport.unpark(p.waiter); in xfer() 702 LockSupport.parkNanos(this, nanos); in awaitMatch() 705 LockSupport.park(this); in awaitMatch()
|
D | Exchanger.java | 11 import java.util.concurrent.locks.LockSupport;
|
D | ConcurrentHashMap.java | 27 import java.util.concurrent.locks.LockSupport; 2012 LockSupport.park(this); in contendedLock() 2044 LockSupport.unpark(w); in find()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldThreadTest.java | 23 import java.util.concurrent.locks.LockSupport; 109 LockSupport.park(); in test_joinWithSpuriousInterruption() 119 LockSupport.unpark(parker); in test_joinWithSpuriousInterruption()
|