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/syslocks"
|
||||||
include "system/threads"
|
include "system/threads"
|
||||||
elif not defined(nogc):
|
elif not defined(nogc):
|
||||||
|
when not defined(useNimRtl) and not defined(createNimRtl): initStackBottom()
|
||||||
initGC()
|
initGC()
|
||||||
|
|
||||||
proc setControlCHook*(hook: proc () {.noconv.})
|
proc setControlCHook*(hook: proc () {.noconv.})
|
||||||
|
|
|
||||||
|
|
@ -203,6 +203,7 @@ when not defined(useNimRtl):
|
||||||
when not useStackMaskHack:
|
when not useStackMaskHack:
|
||||||
var mainThread: TGcThread
|
var mainThread: TGcThread
|
||||||
ThreadVarSetValue(globalsSlot, addr(mainThread))
|
ThreadVarSetValue(globalsSlot, addr(mainThread))
|
||||||
|
when not defined(createNimRtl): initStackBottom()
|
||||||
initGC()
|
initGC()
|
||||||
|
|
||||||
when emulatedThreadVars:
|
when emulatedThreadVars:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue