HomeSort by relevance Sort by last modified time
    Searched full:isheldexclusively (Results 1 - 7 of 7) sorted by null

  /libcore/luni/src/test/java/tests/api/java/util/concurrent/
AbstractQueuedLongSynchronizerTest.java 34 public boolean isHeldExclusively() {
95 * isHeldExclusively is false upon construction
99 assertFalse(rl.isHeldExclusively());
108 assertTrue(rl.isHeldExclusively());
110 assertFalse(rl.isHeldExclusively());
119 assertTrue(rl.isHeldExclusively());
381 assertTrue(sync.isHeldExclusively());
383 assertFalse(sync.isHeldExclusively());
393 assertTrue(sync.isHeldExclusively());
395 assertFalse(sync.isHeldExclusively());
    [all...]
AbstractQueuedSynchronizerTest.java 32 public boolean isHeldExclusively() { return getState() == 1; }
92 * isHeldExclusively is false upon construction
96 assertFalse(rl.isHeldExclusively());
105 assertTrue(rl.isHeldExclusively());
107 assertFalse(rl.isHeldExclusively());
116 assertTrue(rl.isHeldExclusively());
378 assertTrue(sync.isHeldExclusively());
380 assertFalse(sync.isHeldExclusively());
390 assertTrue(sync.isHeldExclusively());
392 assertFalse(sync.isHeldExclusively());
    [all...]
  /libcore/luni/src/main/java/java/util/concurrent/locks/
AbstractQueuedLongSynchronizer.java     [all...]
AbstractQueuedSynchronizer.java 56 * #isHeldExclusively} reports whether synchronization is exclusively
90 * <li> {@link #isHeldExclusively}
177 * protected boolean isHeldExclusively() {
218 * public boolean isLocked() { return sync.isHeldExclusively(); }
    [all...]
ReentrantLock.java 136 protected final boolean isHeldExclusively() {
153 return isHeldExclusively() ? getState() : 0;
554 return sync.isHeldExclusively();
ReentrantReadWriteLock.java 343 if (!isHeldExclusively())
578 protected final boolean isHeldExclusively() {
606 return isHeldExclusively() ? exclusiveCount(getState()) : 0;
    [all...]
  /libcore/luni/src/main/java/java/util/concurrent/
ThreadPoolExecutor.java 589 protected boolean isHeldExclusively() {
610 public boolean isLocked() { return isHeldExclusively(); }
    [all...]

Completed in 196 milliseconds