Skip to content

Commit

Permalink
Fix a few typos (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
Clyybber authored Jun 28, 2020
1 parent 97b8f55 commit 2e528bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions weave/executor.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand All @@ -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
Expand Down

0 comments on commit 2e528bd

Please sign in to comment.