Home
last modified time | relevance | path

Searched refs:setState (Results 1 – 8 of 8) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DReentrantLock.java145 setState(nextc); in nonfairTryAcquire()
162 setState(c); in tryRelease()
196 setState(0); // reset to unlocked state in readObject()
254 setState(nextc); in tryAcquire()
DReentrantReadWriteLock.java341 setState(getState()); // ensures visibility of readHolds in Sync()
378 setState(nextc); in tryRelease()
404 setState(c + acquires); in tryAcquire()
662 setState(0); // reset to unlocked state in readObject()
DAbstractQueuedLongSynchronizer.java113 protected final void setState(long newState) { in setState() method in AbstractQueuedLongSynchronizer
/libcore/ojluni/src/main/java/java/util/concurrent/
DCountDownLatch.java166 setState(count); in Sync()
DThreadPoolExecutor.java634 setState(-1); // inhibit interrupts until runWorker in Worker()
663 setState(0); in tryRelease()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DAbstractQueuedLongSynchronizerTest.java81 setState(UNLOCKED); in tryRelease()
125 setState(1L << 62); in tryReleaseShared()
DAbstractQueuedSynchronizerTest.java85 setState(UNLOCKED); in tryRelease()
129 setState(1); in tryReleaseShared()
/libcore/jsr166-tests/src/test/java/jsr166/
DAbstractQueuedSynchronizerTest.java62 setState(UNLOCKED); in tryRelease()
106 setState(1); in tryReleaseShared()