mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-15 23:54:19 +00:00
Merge pull request #1636 from rbehrends/fix-thread-issues
Fix some thread issues
This commit is contained in:
@@ -1061,8 +1061,7 @@ proc genMainProc(m: BModule) =
|
||||
gBreakpoints.app(m.genFilenames)
|
||||
|
||||
let initStackBottomCall =
|
||||
if emulatedThreadVars() or
|
||||
platform.targetOS == osStandalone: "".toRope
|
||||
if platform.targetOS == osStandalone: "".toRope
|
||||
else: ropecg(m, "\t#initStackBottomWith((void *)&inner);$N")
|
||||
inc(m.labels)
|
||||
appcg(m, m.s[cfsProcs], PreMainBody, [
|
||||
|
||||
Reference in New Issue
Block a user