minor doc update
This commit is contained in:
parent
98d956b77e
commit
bf8f6a3000
1 changed files with 1 additions and 5 deletions
|
|
@ -456,11 +456,7 @@ can then attach a GC to this thread via
|
||||||
|
|
||||||
.. code-block:: nim
|
.. code-block:: nim
|
||||||
|
|
||||||
setStackBottom(addr(someLocal))
|
system.setupForeignThreadGc()
|
||||||
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.
|
|
||||||
|
|
||||||
It is **not** safe to disable the garbage collector and enable it after the
|
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
|
call from your background thread even if the code you are calling is short
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue