Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
MonitorMixin#mon_check_owner
() -> nil
mon_check_owner
ext/monitor/lib/monitor.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/ext/monitor/lib/monitor.rb, line 243
def mon_check_owner
@mon_data.mon_check_owner
end
Ensures that the MonitorMixin is owned by the current thread, otherwise raises an exception.