class Concurrent::LockFreeStack
def compare_and_push(head, value)
-
(true, false)-
Parameters:
-
value(Object) -- -
head(Node) --
def compare_and_push(head, value) compare_and_set_head head, Node[value, head] end
(true, false)
-
value
(Object)
--
head
(Node)
--
def compare_and_push(head, value) compare_and_set_head head, Node[value, head] end