= private = protected
broadcast()
Wakes up all threads waiting for this lock.
# File lib/thread.rb, line 220 def broadcast waiters0 = nil Thread.exclusive do waiters0 = @waiters.dup @waiters.clear end for t in waiters0 begin t.run rescue ThreadError end end end