Home
last modified time | relevance | path

Searched refs:Mutex (Results 1 – 2 of 2) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DAbstractQueuedLongSynchronizerTest.java23 static class Mutex extends AbstractQueuedLongSynchronizer { class in AbstractQueuedLongSynchronizerTest
96 final Mutex sync;
97 InterruptibleSyncRunnable(Mutex sync) { this.sync = sync; } in InterruptibleSyncRunnable()
108 final Mutex sync;
109 InterruptedSyncRunnable(Mutex sync) { this.sync = sync; } in InterruptedSyncRunnable()
174 void assertHasWaitersUnlocked(Mutex sync, ConditionObject c, in assertHasWaitersUnlocked()
184 void assertHasWaitersLocked(Mutex sync, ConditionObject c, in assertHasWaitersLocked()
251 Mutex sync = new Mutex(); in testIsHeldExclusively()
259 Mutex sync = new Mutex(); in testAcquire()
270 Mutex sync = new Mutex(); in testTryAcquire()
[all …]
DAbstractQueuedSynchronizerTest.java26 static class Mutex extends AbstractQueuedSynchronizer { class in AbstractQueuedSynchronizerTest
100 final Mutex sync;
101 InterruptibleSyncRunnable(Mutex sync) { this.sync = sync; } in InterruptibleSyncRunnable()
112 final Mutex sync;
113 InterruptedSyncRunnable(Mutex sync) { this.sync = sync; } in InterruptedSyncRunnable()
177 void assertHasWaitersUnlocked(Mutex sync, ConditionObject c, in assertHasWaitersUnlocked()
187 void assertHasWaitersLocked(Mutex sync, ConditionObject c, in assertHasWaitersLocked()
254 Mutex sync = new Mutex(); in testIsHeldExclusively()
262 Mutex sync = new Mutex(); in testAcquire()
273 Mutex sync = new Mutex(); in testTryAcquire()
[all …]