lib/concurrent/atomic/event.rb
# Reset a previously set event back to the `unset` state.
# Has no effect if the `Event` has not yet been set.
#
# @return [Boolean] should always return `true`
Reset a previously set event back to the `unset` state.
Has no effect if the `Event` has not yet been set.
Reset a previously set event back to the ` unset ` state . Has no effect if the ` Event ` has not yet been set .
def reset
      @mutex.lock
      @set = false
      true
    ensure
      @mutex.unlock
    end
def reset @mutex . lock @set = false true ensure @mutex . unlock end
Reset a previously set event back to the `unset` state.
Reset a previously set event back to the ` unset ` state .
should always return `true`
should always return ` true `
Boolean