diff options
author | reactormonk <hafnersimon@gmail.com> | 2015-05-15 13:24:27 -0500 |
---|---|---|
committer | reactormonk <hafnersimon@gmail.com> | 2015-05-15 13:24:27 -0500 |
commit | 3d3dcdabfe21d0de7dcad3f1a976366338d798c3 (patch) | |
tree | e0d3632be6f2e5864d37a52ce6dc733223e69469 | |
parent | 2950732ec3617d8c0adcec35ddeab229ac0d6c70 (diff) | |
parent | 7ba5f18e9dfa8767716d8c1a0d7b16f52f0c2ca3 (diff) | |
download | Nim-3d3dcdabfe21d0de7dcad3f1a976366338d798c3.tar.gz |
Merge pull request #2729 from mgee/fix-noSideEffect-typo
fix typo for noSideEffect pragma
-rw-r--r-- | doc/manual/threads.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/manual/threads.txt b/doc/manual/threads.txt index fc3040c87..11380f757 100644 --- a/doc/manual/threads.txt +++ b/doc/manual/threads.txt @@ -37,7 +37,7 @@ that contains GC'ed memory (``string``, ``seq``, ``ref`` or a closure) either directly or indirectly through a call to a GC unsafe proc. The `gcsafe`:idx: annotation can be used to mark a proc to be gcsafe, -otherwise this property is inferred by the compiler. Note that ``noSideEfect`` +otherwise this property is inferred by the compiler. Note that ``noSideEffect`` implies ``gcsafe``. The only way to create a thread is via ``spawn`` or ``createThead``. ``spawn`` is usually the preferable method. Either way the invoked proc must not use ``var`` parameters nor must any of its parameters |