Searched refs:unlock (Results 1 - 3 of 3) sorted by relevance

/ontohub/lib/
H A Dsemaphore.rb9 # Expiration is given in seconds. Can be nil. If set, the Semaphore will unlock
29 def unlock method in class:Semaphore
31 @sema.unlock
53 sema.unlock
56 sema.try(:unlock)
/ontohub/lib/hets/
H A Dconcurrent_evaluator.rb41 semaphore_stack.last.try(:unlock)
46 semaphore_stack.last.unlock
50 semaphore_stack.reverse_each(&:unlock)
/ontohub/spec/lib/
H A Dsemaphore_spec.rb37 after { sema.unlock }
45 it 'is not locked after using lock and unlock' do
47 sema.unlock

Completed in 7 milliseconds