Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Thread::ConditionVariable#signal
() -> self
signal
thread_sync.c
View on GitHub ↗
static VALUE
rb_condvar_signal(VALUE self)
{
struct rb_condvar *cv = condvar_ptr(self);
wakeup_one(&cv->waitq);
return self;
}
Wakes up the first thread in line waiting for this lock.