Class: Ori::Mutex
Instance Method Summary collapse
-
#initialize ⇒ Mutex
constructor
A new instance of Mutex.
Methods inherited from Semaphore
#acquire, #available?, #await, #count, #release, #sync
Methods included from Selectable
Constructor Details
#initialize ⇒ Mutex
Returns a new instance of Mutex.
5 6 7 |
# File 'lib/ori/mutex.rb', line 5 def initialize super(1) end |