1# n.b. this is a good test for GVL when pinned to a single CPU
2
31000.times{
4  Thread.new{loop{Thread.pass}}
5}
6
7i = 0
8while i<10000
9  i += 1
10end
11