summaryrefslogtreecommitdiff
path: root/benchmark/bm_vm_thread_queue.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-08-30 06:22:30 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-08-30 06:22:30 +0000
commit4b298ad77a8388f0aae62daeca66659a8effeade (patch)
tree163674f4123bf461a86b4f6fd1de964297057bae /benchmark/bm_vm_thread_queue.rb
parent0df79477bd2cd534ad2d89bfdbf9708c64b59eed (diff)
Use qualified names
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'benchmark/bm_vm_thread_queue.rb')
-rw-r--r--benchmark/bm_vm_thread_queue.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/bm_vm_thread_queue.rb b/benchmark/bm_vm_thread_queue.rb
index 37381ae62b..274ceda366 100644
--- a/benchmark/bm_vm_thread_queue.rb
+++ b/benchmark/bm_vm_thread_queue.rb
@@ -1,7 +1,7 @@
require 'thread'
n = 1_000_000
-q = Queue.new
+q = Thread::Queue.new
consumer = Thread.new{
while q.pop
# consuming