actors :: FannkuchRedux :: run
fun run do
p = new Array[Int].with_capacity(n)
for i in [0..n[ do p.add(0)
pp = new Array[Int].with_capacity(n)
for i in [0..n[ do pp.add(0)
count = new Array[Int].with_capacity(n)
for i in [0..n[ do count.add(0)
var task = 0
loop
task = task_id.get_and_increment
if task < n_tasks then run_task(task) else break
end
end
lib/actors/examples/fannkuchredux/fannkuchredux.nit:118,2--131,4