diff options
author | Adam Strzelecki <ono@java.pl> | 2015-09-04 23:10:48 +0200 |
---|---|---|
committer | Adam Strzelecki <ono@java.pl> | 2015-09-04 23:10:48 +0200 |
commit | 0b44d812f10c6dbf7eb7cbf13ae0dc053bb2de9d (patch) | |
tree | 3ecdeaa24c4fd828d9408b68f5b4eb9b47171e77 /doc/spawn.txt | |
parent | 51488766e79a2ce21068b34ecd368c1344ce7cc1 (diff) | |
download | Nim-0b44d812f10c6dbf7eb7cbf13ae0dc053bb2de9d.tar.gz |
doc: Trim .txt files trailing whitespace
via OSX: find . -name '*.txt' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
Diffstat (limited to 'doc/spawn.txt')
-rw-r--r-- | doc/spawn.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/spawn.txt b/doc/spawn.txt index 36bd02e96..5d65243d2 100644 --- a/doc/spawn.txt +++ b/doc/spawn.txt @@ -2,7 +2,7 @@ Parallel & Spawn ========================================================== -Nim has two flavors of parallelism: +Nim has two flavors of parallelism: 1) `Structured`:idx parallelism via the ``parallel`` statement. 2) `Unstructured`:idx: parallelism via the standalone ``spawn`` statement. @@ -30,7 +30,7 @@ variables at the same time: .. code-block:: nim import threadpool, ... - + # wait until 2 out of 3 servers received the update: proc main = var responses = newSeq[FlowVarBase](3) @@ -89,7 +89,7 @@ restrictions / changes: the ``parallel`` section. This is called the *immutability check*. Currently it is not specified what exactly "complex location" means. We need to make this an optimization! -* Every array access has to be provably within bounds. This is called +* Every array access has to be provably within bounds. This is called the *bounds check*. * Slices are optimized so that no copy is performed. This optimization is not yet performed for ordinary slices outside of a ``parallel`` section. Slices |