Home
last modified time | relevance | path

Searched refs:releaseShared (Results 1 – 7 of 7) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DAbstractQueuedSynchronizerTest.java508 assertTrue(l.releaseShared(0)); in testGetSharedQueuedThreads_Shared()
577 assertTrue(acquired.releaseShared(0)); in testGetState()
584 assertTrue(done.releaseShared(0)); in testGetState()
598 assertTrue(threadStarted.releaseShared(0)); in testAcquireInterruptibly()
690 assertTrue(acquired.releaseShared(0));
832 assertTrue(acquired.releaseShared(0));
865 assertTrue(acquired1.releaseShared(0));
880 assertTrue(acquired2.releaseShared(0));
913 assertTrue(acquired1.releaseShared(0));
925 assertTrue(acquired2.releaseShared(0));
[all …]
DAbstractQueuedLongSynchronizerTest.java505 assertTrue(l.releaseShared(0)); in testGetSharedQueuedThreads_Shared()
574 assertTrue(acquired.releaseShared(0)); in testGetState()
581 assertTrue(done.releaseShared(0)); in testGetState()
595 assertTrue(threadStarted.releaseShared(0)); in testAcquireInterruptibly()
687 assertTrue(acquired.releaseShared(0));
829 assertTrue(acquired.releaseShared(0));
862 assertTrue(acquired1.releaseShared(0));
877 assertTrue(acquired2.releaseShared(0));
910 assertTrue(acquired1.releaseShared(0));
922 assertTrue(acquired2.releaseShared(0));
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/
DSemaphore.java432 sync.releaseShared(1); in release()
619 sync.releaseShared(permits); in release()
DCountDownLatch.java292 sync.releaseShared(1); in countDown()
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DReentrantReadWriteLock.java888 sync.releaseShared(1); in unlock()
DAbstractQueuedLongSynchronizer.java898 public final boolean releaseShared(long arg) { in releaseShared() method in AbstractQueuedLongSynchronizer
DAbstractQueuedSynchronizer.java1364 public final boolean releaseShared(int arg) { in releaseShared() method in AbstractQueuedSynchronizer