Flowdock
method

synchronize

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: LoadInterlockAwareMonitor
synchronize() 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
        Thread.handle_interrupt(EXCEPTION_NEVER) do
          mon_enter

          begin
            Thread.handle_interrupt(EXCEPTION_IMMEDIATE) do
              yield
            end
          ensure
            mon_exit
          end
        end
      end
Register or log in to add new notes.