Lines Matching refs:casHead
303 boolean casHead(SNode h, SNode nh) {
355 casHead(h, h.next); // pop cancelled node
358 } else if (casHead(h, s = snode(s, e, h, mode))) {
365 casHead(h, s.next); // help s's fulfiller
370 casHead(h, h.next); // pop and retry
371 else if (casHead(h, s=snode(s, e, h, FULFILLING|mode))) {
375 casHead(s, null); // pop fulfill node
381 casHead(s, mn); // pop both s and m
390 casHead(h, null); // pop fulfilling node
394 casHead(h, mn); // pop both h and m
498 casHead(p, p.next);