End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Monitor#mon_check_owner
mon_check_owner
ext/monitor/monitor.c
View on GitHub ↗
static VALUE
monitor_check_owner(VALUE monitor)
{
struct rb_monitor *mc = monitor_ptr(monitor);
if (!mc_owner_p(mc)) {
rb_raise(rb_eThreadError, "current fiber not owner");
}
return Qnil;
}
No documentation available