= private = protected
mon_enter()
Enters exclusive section.
# File lib/monitor.rb, line 185 def mon_enter if @mon_owner != Thread.current @mon_mutex.lock @mon_owner = Thread.current @mon_count = 0 end @mon_count += 1 end