summaryrefslogtreecommitdiff
path: root/benchmark/bm_vm3_thread_create_join.rb
blob: 325a66d5877b3172bc7407cfc016f7d157efb866 (plain)
1
2
3
4
5
6
i=0
while i<100_000 # benchmark loop 3
  i+=1
  Thread.new{
  }.join
end