Method: ConditionVariable#broadcast
- Defined in:
- thread_sync.c
#broadcast ⇒ Object
Wakes up all threads waiting for this lock.
1205 1206 1207 1208 1209 1210 |
# File 'thread_sync.c', line 1205 static VALUE rb_condvar_broadcast(VALUE self) { wakeup_all_threads(GET_CONDVAR_WAITERS(self)); return self; } |