method

mon_exit

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: ThreadLoadInterlockAwareMonitor
mon_exit() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/concurrency/load_interlock_aware_monitor.rb, line 60
        def mon_exit
          unless @owner == Thread.current
            raise ThreadError, "current thread not owner"
          end

          @count -= 1
          return unless @count == 0
          @owner = nil
          @mutex.unlock
        end
Register or log in to add new notes.