diff options
author | Tomas Vojtisek <wombat@suswombat.xyz> | 2017-03-29 08:36:10 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-03-29 08:36:10 +0200 |
commit | 27a291c09e5b8861fa195e782c9b46d9bd44b77b (patch) | |
tree | dc2c30aa9988eb141a0179305689fd172140bdb2 /lib/pure/concurrency | |
parent | 977758fe062a51f6d6dc2be227688ddfa768c680 (diff) | |
download | Nim-27a291c09e5b8861fa195e782c9b46d9bd44b77b.tar.gz |
Update threadpool.nim (#5624)
Diffstat (limited to 'lib/pure/concurrency')
-rw-r--r-- | lib/pure/concurrency/threadpool.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/concurrency/threadpool.nim b/lib/pure/concurrency/threadpool.nim index 8cdb83e19..f438a85e7 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]``. |