summaryrefslogtreecommitdiff
path: root/benchmark/bm_vm_thread_mutex3.rb
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/bm_vm_thread_mutex3.rb')
-rw-r--r--benchmark/bm_vm_thread_mutex3.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/bm_vm_thread_mutex3.rb b/benchmark/bm_vm_thread_mutex3.rb
index 7f9a44b39d..c750dc542a 100644
--- a/benchmark/bm_vm_thread_mutex3.rb
+++ b/benchmark/bm_vm_thread_mutex3.rb
@@ -1,7 +1,7 @@
# 1000 threads, one mutex
require 'thread'
-m = Mutex.new
+m = Thread::Mutex.new
r = 0
max = 2000
(1..max).map{