Ruby ConditionVariable Functions

EditRocket provides the following information on ConditionVariable functions in the Ruby source code builder.

broadcast() - Wakes up all threads waiting for this lock.

new() - Creates a new ConditionVariable

signal() - Wakes up the first thread in line waiting for this lock.

wait(mutex) - Releases the lock held in mutex and waits; reacquires the lock on wakeup.