class Concurrent::AtomicMarkableReference
def set(new_val, new_mark)
-
(Array)
- both the new value and the new mark
Parameters:
-
new_mark
(Boolean
) -- the new mark -
new_val
(Object
) -- the new value
def set(new_val, new_mark) self.reference = immutable_array(new_val, new_mark) end