diff options
author | Markus Engelbrecht <github@enbre.com> | 2015-05-15 18:42:29 +0200 |
---|---|---|
committer | Markus Engelbrecht <github@enbre.com> | 2015-05-15 18:42:29 +0200 |
commit | 7ba5f18e9dfa8767716d8c1a0d7b16f52f0c2ca3 (patch) | |
tree | 7e6b26b42512d14a194da59da6599707ff29ae39 | |
parent | c30d7c3208c1da91e3f71be7d8d9f5149f3031c4 (diff) | |
download | Nim-7ba5f18e9dfa8767716d8c1a0d7b16f52f0c2ca3.tar.gz |
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 |