diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-08-30 06:22:30 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-08-30 06:22:30 +0000 |
commit | 4b298ad77a8388f0aae62daeca66659a8effeade (patch) | |
tree | 163674f4123bf461a86b4f6fd1de964297057bae /lib/drb | |
parent | 0df79477bd2cd534ad2d89bfdbf9708c64b59eed (diff) |
Use qualified names
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/drb')
-rw-r--r-- | lib/drb/drb.rb | 4 | ||||
-rw-r--r-- | lib/drb/extservm.rb | 2 |
2 files changed, 3 insertions, 3 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 diff --git a/lib/drb/extservm.rb b/lib/drb/extservm.rb index e2637aa62c..7e70a3cd82 100644 --- a/lib/drb/extservm.rb +++ b/lib/drb/extservm.rb @@ -28,7 +28,7 @@ module DRb @cond = new_cond @servers = {} @waiting = [] - @queue = Queue.new + @queue = Thread::Queue.new @thread = invoke_thread @uri = nil end |