TODO (pitr-ch 04-Dec-2016): should be in edge
# File lib/concurrent/synchronization/lock.rb, line 27 def broadcast synchronize { ns_broadcast } end
# File lib/concurrent/synchronization/lock.rb, line 21 def signal synchronize { ns_signal } end
TODO use JavaReentrantLock on JRuby
# File lib/concurrent/synchronization/lock.rb, line 9 def wait(timeout = nil) synchronize { ns_wait(timeout) } end
# File lib/concurrent/synchronization/lock.rb, line 15 def wait_until(timeout = nil, &condition) synchronize { ns_wait_until(timeout, &condition) } end