class Concurrent::MutexAtomicFixnum

def value

Returns:
  • (Fixnum) - the current value
def value
  @mutex.lock
  result = @value
  @mutex.unlock
  result
end