method
new
v8.0.0 -
Show latest stable
- Class:
ActiveSupport::Concurrency::ShareLock
new()public
No documentation available.
# File activesupport/lib/active_support/concurrency/share_lock.rb, line 49
def initialize
super()
@cv = new_cond
@sharing = Hash.new(0)
@waiting = {}
@sleeping = {}
@exclusive_thread = nil
@exclusive_depth = 0
end