Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DStampedLock.java321 private transient volatile WNode wtail; field in StampedLock
422 return ((whead == wtail && (s & ABITS) < RFULL && in readLock()
1015 for (WNode t = wtail; t != null && t != h; t = t.prev) in release()
1042 spins = (m == WBIT && wtail == whead) ? SPINS : 0; in acquireWrite()
1047 else if ((p = wtail) == null) { // initialize queue in acquireWrite()
1050 wtail = hd; in acquireWrite()
1146 if ((h = whead) == (p = wtail)) { in acquireRead()
1162 WNode nh = whead, np = wtail; in acquireRead()
1174 wtail = hd; in acquireRead()
1356 for (WNode t = wtail; t != null && t != node; t = t.prev) in cancelWaiter()
[all …]