Home | History | Annotate | Download | only in concurrent

Lines Matching refs:qlock

288      * field qlock), because submitters encountering a busy queue move
292 * putOrderedInt). The qlock is also used during termination
490 * helps terminate others by setting their (qlock) status,
814 volatile int qlock; // 1: locked, < 0: terminate; else 0
1021 if (U.compareAndSwapInt(this, QLOCK, 0, 1)) {
1027 qlock = 0;
1053 qlock = 0;
1068 U.compareAndSwapInt(this, QLOCK, 0, 1)) {
1074 U.putOrderedInt(this, QLOCK, 0);
1257 if (U.compareAndSwapInt(this, QLOCK, 0, 1)) {
1264 U.putOrderedInt(this, QLOCK, 0);
1346 private static final long QLOCK;
1351 QLOCK = U.objectFieldOffset
1352 (WorkQueue.class.getDeclaredField("qlock"));
1661 w.qlock = -1; // ensure set
1804 stat = w.qlock = -1; // pool terminating
1811 stat = w.qlock = -1; // recheck
1842 stat = w.qlock = -1; // pool terminating
1858 stat = w.qlock = -1;
1916 w.qlock = -1;
2178 if (w == null || w.qlock < 0 || pc == 0 || // terminating or disabled
2453 if (w.qlock >= 0) {
2454 w.qlock = -1; // racy set OK
2494 q.qlock = 1; // lock queue
2511 q.qlock = 0;