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

/libcore/ojluni/src/main/java/java/util/concurrent/
H A DConcurrentLinkedQueue.java289 if (h != p && casHead(h, p))
926 private boolean casHead(Node<E> cmp, Node<E> val) { method in class:ConcurrentLinkedQueue
H A DConcurrentLinkedDeque.java372 casHead(h, newNode); // Failure is OK.
610 if (casHead(h, p))
754 || casHead(h, p))
1601 private boolean casHead(Node<E> cmp, Node<E> val) { method in class:ConcurrentLinkedDeque
H A DLinkedTransferQueue.java573 private boolean casHead(Node cmp, Node val) { method in class:LinkedTransferQueue
616 if (head == h && casHead(h, n == null ? q : n)) {
659 if (casHead(null, s))
1157 if (hn != h && casHead(h, hn))
H A DSynchronousQueue.java305 boolean casHead(SNode h, SNode nh) { method in class:SynchronousQueue.TransferStack
358 casHead(h, h.next); // pop cancelled node
361 } else if (casHead(h, s = snode(s, e, h, mode))) {
368 casHead(h, s.next); // help s's fulfiller
373 casHead(h, h.next); // pop and retry
374 else if (casHead(h, s=snode(s, e, h, FULFILLING|mode))) {
378 casHead(s, null); // pop fulfill node
384 casHead(s, mn); // pop both s and m
393 casHead(h, null); // pop fulfilling node
397 casHead(
[all...]
H A DConcurrentSkipListMap.java403 private boolean casHead(HeadIndex<K,V> cmp, HeadIndex<K,V> val) { method in class:ConcurrentSkipListMap
878 if (casHead(h, newh)) {
1023 casHead(h, d) && // try to set
1025 casHead(d, h); // try to backout

Completed in 189 milliseconds