From 2e528bd2a6a04306fd029f04a0af87fa201e5d89 Mon Sep 17 00:00:00 2001 From: Clyybber Date: Sun, 28 Jun 2020 09:58:29 +0200 Subject: [PATCH] Fix a few typos (#159) --- weave/executor.nim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/weave/executor.nim b/weave/executor.nim index 99a3bd2..e3b0862 100644 --- a/weave/executor.nim +++ b/weave/executor.nim @@ -42,7 +42,7 @@ # The ManagerContext can be extended further to support distributed computing # with Weave instances on muliple nodes of a cluster. # The manager thread can become a dedicated separate thread -# if communication costs and jobs latnecy are high enough to justify it in the future. +# if communication costs and jobs latency are high enough to justify it in the future. import # Standard library @@ -76,7 +76,7 @@ proc setupSubmitterThread*(_: typedesc[Weave]) = ## to it instead of mixing ## logic or IO and Weave on the main thread. ## - ## This will block until Weave is ready to accet jobs + ## This will block until Weave is ready to access jobs preCondition: localThreadKind == Unknown jobProviderContext.mempool = wv_alloc(TLPoolAllocator) @@ -98,7 +98,7 @@ proc processAllandTryPark*(_: typedesc[Weave]) = ## ## This is only valid on Weave root thread. ## Note that if you use `runInBackground` - ## this is what the background manager thread does automaticallu + ## this is what the background manager thread does automatically ## ## This should be used if Weave root thread (that called init(Weave)) ## is on a dedicated long-running thread