From 27a291c09e5b8861fa195e782c9b46d9bd44b77b Mon Sep 17 00:00:00 2001 From: Tomas Vojtisek Date: Wed, 29 Mar 2017 08:36:10 +0200 Subject: [PATCH] Update threadpool.nim (#5624) --- lib/pure/concurrency/threadpool.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pure/concurrency/threadpool.nim b/lib/pure/concurrency/threadpool.nim index 8cdb83e196..f438a85e76 100644 --- a/lib/pure/concurrency/threadpool.nim +++ b/lib/pure/concurrency/threadpool.nim @@ -418,7 +418,7 @@ proc spawn*(call: expr): expr {.magic: "Spawn".} proc pinnedSpawn*(id: ThreadId; call: expr): expr {.magic: "Spawn".} ## always spawns a new task on the worker thread with ``id``, so that ## the 'call' is **always** executed on - ## the this thread. 'call' has to be proc call 'p(...)' where 'p' + ## the thread. 'call' has to be proc call 'p(...)' where 'p' ## is gcsafe and has a return type that is either 'void' or compatible ## with ``FlowVar[T]``.