class Concurrent::MutexAtomicFixnum
def decrement
-
(Fixnum)
- the current value after decrementation
def decrement @mutex.lock @value -= 1 result = @value @mutex.unlock result end
(Fixnum)
- the current value after decrementation
def decrement @mutex.lock @value -= 1 result = @value @mutex.unlock result end