Flowdock
method

synchronize

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: LoadInterlockAwareMonitor
synchronize(&block) public

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 20
      def synchronize(&block)
        Thread.handle_interrupt(EXCEPTION_NEVER) do
          mon_enter

          begin
            Thread.handle_interrupt(EXCEPTION_IMMEDIATE, &block)
          ensure
            mon_exit
          end
        end
      end
Register or log in to add new notes.