aboutsummaryrefslogtreecommitdiffstats
path: root/benchmark/bm_vm_thread_alive_check1.rb
blob: aebe99875d5ecfddada9fc5b9d5fb911aaa7b002 (plain)
1
2
3
4
5
6
5000.times{
  t = Thread.new{}
  while t.alive?
    Thread.pass
  end
}