Class: Ori::Mutex

Inherits:
Semaphore show all
Defined in:
lib/ori/mutex.rb

Instance Method Summary collapse

Methods inherited from Semaphore

#acquire, #available?, #await, #count, #release, #sync

Methods included from Selectable

#await

Constructor Details

#initializeMutex

Returns a new instance of Mutex.



5
6
7
# File 'lib/ori/mutex.rb', line 5

def initialize
  super(1)
end