Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →
instance method
MonitorMixin#mon_exit
() -> nil
mon_exit
lib/monitor.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.1.0-preview1/lib/monitor.rb, line 122
def mon_exit
mon_check_owner
@mon_data.exit
end
Leaves exclusive section.
See also
#mon_enter
#mon_initialize
#mon_check_owner
#mon_locked?
also in
4.0 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0