method

busy_for_sharing?

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: ShareLock
busy_for_sharing?(purpose) 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/share_lock.rb, line 210
        def busy_for_sharing?(purpose)
          (@exclusive_thread && @exclusive_thread != Thread.current) ||
            @waiting.any? { |t, (_, c)| t != Thread.current && !c.include?(purpose) }
        end
Register or log in to add new notes.