diff options
author | Araq <rumpf_a@web.de> | 2014-12-31 00:44:07 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-12-31 00:44:07 +0100 |
commit | bf8f6a3000804a1beb3488ab3a19d5676fe8c9cd (patch) | |
tree | 6a1faf3678db161ef92b969d73d23dd780a8bec9 /doc | |
parent | 98d956b77e53cce2f2a2b0624623be3abbf5aee3 (diff) | |
download | Nim-bf8f6a3000804a1beb3488ab3a19d5676fe8c9cd.tar.gz |
minor doc update
Diffstat (limited to 'doc')
-rw-r--r-- | doc/backends.txt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/doc/backends.txt b/doc/backends.txt index eb16217cd..ffe2d5e88 100644 --- a/doc/backends.txt +++ b/doc/backends.txt @@ -456,11 +456,7 @@ can then attach a GC to this thread via .. code-block:: nim - setStackBottom(addr(someLocal)) - initGC() - -At the moment this support is still experimental so you need to expose these -functions yourself or submit patches to request a public API. + system.setupForeignThreadGc() It is **not** safe to disable the garbage collector and enable it after the call from your background thread even if the code you are calling is short |