lib/garcon/task/atomic_boolean.rb
# Explicitly sets the value to false.
#
# @return [Boolean]
#   True is value has changed, otherwise false
#
# @api public
Explicitly sets the value to false.
Explicitly sets the value to false .
def make_false
      @mutex.lock
      old = @value
      @value = false
      old
    ensure
      @mutex.unlock
    end
def make_false @mutex . lock old = @value @value = false old ensure @mutex . unlock end
Explicitly sets the value to false.
Explicitly sets the value to false .
True is value has changed, otherwise false
True is value has changed otherwise false
Boolean
api
None