mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-16 22:11:18 +00:00
new compiler option tlsEmulation
This commit is contained in:
@@ -151,7 +151,7 @@ else:
|
||||
importc: "pthread_attr_setstack", header: "<pthread.h>".}
|
||||
|
||||
const
|
||||
emulatedThreadVars = true
|
||||
emulatedThreadVars = compileOption("tlsEmulation")
|
||||
|
||||
when emulatedThreadVars:
|
||||
# the compiler generates this proc for us, so that we can get the size of
|
||||
|
||||
Reference in New Issue
Block a user