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 | 7e24aacf8bd3f6bc45ba7d42263d70dae33d5b24 (patch) | |
tree | 163674f4123bf461a86b4f6fd1de964297057bae /benchmark/bm_vm_thread_mutex3.rb | |
parent | f48dbbf07455ee4362003c8ecc19612a4d6769d4 (diff) | |
download | ruby-7e24aacf8bd3f6bc45ba7d42263d70dae33d5b24.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 'benchmark/bm_vm_thread_mutex3.rb')
-rw-r--r-- | benchmark/bm_vm_thread_mutex3.rb | 2 |
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{ |