Searched defs:PL_LOCK (Results 1 - 1 of 1) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/
H A DForkJoinPool.java1162 * SEQ: a sequence lock, with PL_LOCK bit set if locked (30 bits)
1207 private static final int PL_LOCK = 2; field in class:ForkJoinPool
1245 if (((ps = plock) & PL_LOCK) == 0 &&
1246 U.compareAndSwapInt(this, PLOCK, ps, nps = ps + PL_LOCK))
1330 if (((ps = plock) & PL_LOCK) != 0 ||
1331 !U.compareAndSwapInt(this, PLOCK, ps, ps += PL_LOCK))
1333 int nps = (ps & SHUTDOWN) | ((ps + PL_LOCK) & ~SHUTDOWN);
1378 if (((ps = plock) & PL_LOCK) != 0 ||
1379 !U.compareAndSwapInt(this, PLOCK, ps, ps += PL_LOCK))
1381 int nps = (ps & SHUTDOWN) | ((ps + PL_LOCK)
[all...]

Completed in 91 milliseconds