bugfix: typo in actors.nim

This commit is contained in:
Araq 2012-08-15 08:13:31 +02:00
commit 1215193010
5 changed files with 18 additions and 2 deletions

View file

@ -118,7 +118,8 @@ proc poolWorker[TIn, TOut](self: PActor[TIn, TOut]) {.thread.} =
when TOut is void:
m.action(m.data)
else:
self.repy(m.action(m.data))
send(m.receiver[], m.action(m.data))
#self.reply()
proc createActorPool*[TIn, TOut](a: var TActorPool[TIn, TOut], poolSize = 4) =
## creates an actor pool.