Searched refs:Mutex (Results 1 – 2 of 2) sorted by relevance
23 static class Mutex extends AbstractQueuedLongSynchronizer { class in AbstractQueuedLongSynchronizerTest96 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 …]
26 static class Mutex extends AbstractQueuedSynchronizer { class in AbstractQueuedSynchronizerTest100 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 …]