diff options
author | Araq <rumpf_a@web.de> | 2012-08-15 08:13:31 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2012-08-15 08:13:31 +0200 |
commit | 12151930101f6eacb834c2102cfdaccc637ce72a (patch) | |
tree | 1b3b6975cb10388816f98b60f673327988012b5e /lib | |
parent | 51de278bd4cf7a8819652176600329022e2353ff (diff) | |
download | Nim-12151930101f6eacb834c2102cfdaccc637ce72a.tar.gz |
bugfix: typo in actors.nim
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pure/actors.nim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/pure/actors.nim b/lib/pure/actors.nim index 121dabf82..c6f277745 100644 --- a/lib/pure/actors.nim +++ b/lib/pure/actors.nim @@ -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. |