diff options
Diffstat (limited to 'tests/threads/trecursive_actor.nim')
-rw-r--r-- | tests/threads/trecursive_actor.nim | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/threads/trecursive_actor.nim b/tests/threads/trecursive_actor.nim deleted file mode 100644 index e2774704c..000000000 --- a/tests/threads/trecursive_actor.nim +++ /dev/null @@ -1,19 +0,0 @@ -discard """ - outputsub: "0" -""" - -import actors - -var - a: TActorPool[int, void] -createActorPool(a) - -proc task(i: int) {.thread.} = - echo i - if i != 0: a.spawn (i-1, task) - -# count from 9 till 0 and check 0 is somewhere in the output -a.spawn(9, task) -a.join() - - |