class Concurrent::LockFreeStack
def compare_and_pop(head)
-
(true, false)-
Parameters:
-
head(Node) --
def compare_and_pop(head) compare_and_set_head head, head.next_node end
(true, false)
-
head
(Node)
--
def compare_and_pop(head) compare_and_set_head head, head.next_node end