diff options
Diffstat (limited to 'lib/drb/drb.rb')
-rw-r--r-- | lib/drb/drb.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/drb/drb.rb b/lib/drb/drb.rb index f00e72c457..38cb38563b 100644 --- a/lib/drb/drb.rb +++ b/lib/drb/drb.rb @@ -1205,7 +1205,7 @@ module DRb # not normally need to deal with it directly. class DRbConn POOL_SIZE = 16 # :nodoc: - @mutex = Mutex.new + @mutex = Thread::Mutex.new @pool = [] def self.open(remote_uri) # :nodoc: @@ -1824,7 +1824,7 @@ module DRb end module_function :install_acl - @mutex = Mutex.new + @mutex = Thread::Mutex.new def mutex # :nodoc: @mutex end |