diff options
Diffstat (limited to 'benchmark/bm_vm_thread_mutex2.rb')
-rw-r--r-- | benchmark/bm_vm_thread_mutex2.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/bm_vm_thread_mutex2.rb b/benchmark/bm_vm_thread_mutex2.rb index 10de59054f..6e6c804c31 100644 --- a/benchmark/bm_vm_thread_mutex2.rb +++ b/benchmark/bm_vm_thread_mutex2.rb @@ -1,7 +1,7 @@ # two threads, one mutex require 'thread' -m = Mutex.new +m = Thread::Mutex.new r = 0 max = 2000 lmax = (max * max)/2 |