Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (7 sloc) 103 Bytes
require 'thread'
m = Mutex.new
i=0
while i<6_000_000 # benchmark loop 2
i+=1
m.synchronize{}
end
Jump to Line
Something went wrong with that request. Please try again.