instance method
Monitor#new_cond
() -> ::MonitorMixin::ConditionVariable
new_cond
ext/monitor/lib/monitor.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/ext/monitor/lib/monitor.rb, line 263
def new_cond
::MonitorMixin::ConditionVariable.new(self)
end
Creates a new MonitorMixin::ConditionVariable associated with the Monitor object.
See also
#mon_try_enter
#synchronize
#mon_synchronize
#try_enter
also in
3.4 · 3.3 · 3.2 · 3.1 · 3.0