Expose GC_setStackBottom (#7885)
This commit is contained in:
parent
4a88c245d3
commit
395b7506cf
5 changed files with 17 additions and 13 deletions
|
|
@ -440,7 +440,7 @@ proc threadProcWrapStackFrame[TArg](thrd: ptr Thread[TArg]) =
|
|||
threadProcWrapDispatch[TArg]
|
||||
when not hasSharedHeap:
|
||||
# init the GC for refc/markandsweep
|
||||
setStackBottom(addr(p))
|
||||
nimGC_setStackBottom(addr(p))
|
||||
initGC()
|
||||
when declared(threadType):
|
||||
threadType = ThreadType.NimThread
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue