method

stop_sharing

Importance_0
v5.2.3 - 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.