repo.or.cz
/
ruby-svn.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
r18455 reverted.
[ruby-svn.git]
/
benchmark
/
bm_vm2_mutex.rb
blob
9ec1a0f136847d02722d7a9029e394373fca3f4e
1
require 'thread'
2
3
m = Mutex.new
4
5
i=0
6
while i<6000000 # benchmark loop 2
7
i+=1
8
m.synchronize{}
9
end