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