instance method
MonitorMixin#mon_locked?
() -> bool
mon_locked?
ext/monitor/lib/monitor.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/ext/monitor/lib/monitor.rb, line 184
def mon_locked?
@mon_data.mon_locked?
end
Returns true if this monitor is locked by any thread
See also
#mon_initialize
#mon_owned?
#mon_exit
#mon_synchronize
also in
4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0