Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DStampedLock.java318 private static final long RBITS = WBIT - 1L; field in StampedLock
319 private static final long RFULL = RBITS - 1L;
320 private static final long ABITS = RBITS | WBIT;
321 private static final long SBITS = ~RBITS; // note overlap with ABITS
669 if ((stamp & RBITS) != 0L) { in unlockRead()
671 ((m = s & RBITS) != 0L)) { in unlockRead()
854 if ((readers = s & RBITS) >= RFULL) in getReadLockCount()
874 return (state & RBITS) != 0L; in isReadLocked()
920 return (stamp & RBITS) != 0L; in isReadLockStamp()
1087 while ((m = (s = state) & RBITS) > 0L) { in unstampedUnlockRead()
[all …]