Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Monitor#new_cond
() -> ::MonitorMixin::ConditionVariable
new_cond
ext/monitor/lib/monitor.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/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
4.0 · 3.3 · 3.2 · 3.1 · 3.0