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