Class

Use the Monitor class when you want to have a lock object for blocks with mutual exclusion.

require 'monitor'

lock = Monitor.new
lock.synchronize do
  # exclusive access
end
Instance Methods
No documentation available
No documentation available
No documentation available
An alias for enter
An alias for exit
No documentation available
No documentation available
An alias for synchronize
An alias for try_enter
No documentation available
No documentation available
No documentation available
An alias for try_enter
No documentation available