keep initStackBottom calls please
This commit is contained in:
parent
e2359aba44
commit
3c50794a08
2 changed files with 2 additions and 0 deletions
|
|
@ -1935,6 +1935,7 @@ when not defined(EcmaScript) and not defined(NimrodVM):
|
|||
include "system/syslocks"
|
||||
include "system/threads"
|
||||
elif not defined(nogc):
|
||||
when not defined(useNimRtl) and not defined(createNimRtl): initStackBottom()
|
||||
initGC()
|
||||
|
||||
proc setControlCHook*(hook: proc () {.noconv.})
|
||||
|
|
|
|||
|
|
@ -203,6 +203,7 @@ when not defined(useNimRtl):
|
|||
when not useStackMaskHack:
|
||||
var mainThread: TGcThread
|
||||
ThreadVarSetValue(globalsSlot, addr(mainThread))
|
||||
when not defined(createNimRtl): initStackBottom()
|
||||
initGC()
|
||||
|
||||
when emulatedThreadVars:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue