summaryrefslogtreecommitdiff
path: root/benchmark/bm_vm2_mutex.rb
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/bm_vm2_mutex.rb')
-rw-r--r--benchmark/bm_vm2_mutex.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/bm_vm2_mutex.rb b/benchmark/bm_vm2_mutex.rb
index 7362f738c5..5d16480c6b 100644
--- a/benchmark/bm_vm2_mutex.rb
+++ b/benchmark/bm_vm2_mutex.rb
@@ -1,6 +1,6 @@
require 'thread'
-m = Mutex.new
+m = Thread::Mutex.new
i = 0
while i<6_000_000 # benchmark loop 2