Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
MonitorMixin#mon_check_owner
() -> nil
mon_check_owner
lib/monitor.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/monitor.rb, line 189
def mon_check_owner
@mon_data.mon_check_owner
end
Ensures that the MonitorMixin is owned by the current thread, otherwise raises an exception.