method

stop_sharing

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: ShareLock
stop_sharing() 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/share_lock.rb, line 131
      def stop_sharing
        synchronize do
          if @sharing[Thread.current] > 1
            @sharing[Thread.current] -= 1
          else
            @sharing.delete Thread.current
            @cv.broadcast
          end
        end
      end
Register or log in to add new notes.