Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/
DSynchronousQueue.java315 boolean casHead(SNode h, SNode nh) { in casHead() method in SynchronousQueue.TransferStack
368 casHead(h, h.next); // pop cancelled node in transfer()
371 } else if (casHead(h, s = snode(s, e, h, mode))) { in transfer()
407 casHead(h, s.next); // help fulfiller in transfer()
412 casHead(h, h.next); // pop and retry in transfer()
413 else if (casHead(h, s=snode(s, e, h, FULFILLING|mode))) { in transfer()
417 casHead(s, null); // pop fulfill node in transfer()
423 casHead(s, mn); // pop both s and m in transfer()
432 casHead(h, null); // pop fulfilling node in transfer()
436 casHead(h, mn); // pop both h and m in transfer()
[all …]
DLinkedTransferQueue.java514 private boolean casHead(Node cmp, Node val) { in casHead() method in LinkedTransferQueue
528 if (casHead(c, p)) { in tryCasSuccessor()
572 if (casHead(h, p)) in skipDeadNodesNearHead()
712 if (p != h && casHead(h, p)) in firstDataNode()
1121 if (hn != h && casHead(h, hn)) in unsplice()