Araq/Nimrod — Issue #70: actors "spawn" only works if the pool is named "a"
Author: jeberger
Created: 2011-12-03 16:29:10+00:00
State: open

The following code does not compile:

import actors

var
p: TActorPool[int, void]
createActorPool(p)
for i in 0 .. < 300:
p.spawn(i, proc (x: int) {.thread.} = echo x)
p.join()