method
mu_unlock
v1_8_7_72 -
Show latest stable
- Class:
Mutex_m
mu_unlock()public
No documentation available.
# File lib/mutex_m.rb, line 98
def mu_unlock
return unless @mu_locked
Thread.critical = true
wait = @mu_waiting
@mu_waiting = []
@mu_locked = false
Thread.critical = false
for w in wait
w.run
end
self
end