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/webrick/utils.rb | |
parent | 0df79477bd2cd534ad2d89bfdbf9708c64b59eed (diff) | |
download | ruby-4b298ad77a8388f0aae62daeca66659a8effeade.tar.gz |
Use qualified names
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/webrick/utils.rb')
-rw-r--r-- | lib/webrick/utils.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/webrick/utils.rb b/lib/webrick/utils.rb index 846829b01f..eb3b907ecf 100644 --- a/lib/webrick/utils.rb +++ b/lib/webrick/utils.rb @@ -126,7 +126,7 @@ module WEBrick ## # Mutex used to synchronize access across threads - TimeoutMutex = Mutex.new # :nodoc: + TimeoutMutex = Thread::Mutex.new # :nodoc: ## # Registers a new timeout handler @@ -154,7 +154,7 @@ module WEBrick TimeoutMutex.synchronize{ @timeout_info = Hash.new } - @queue = Queue.new + @queue = Thread::Queue.new @watcher = nil end |