new compiler option tlsEmulation

This commit is contained in:
Araq
2011-10-27 21:03:53 +02:00
parent abe9dfafe8
commit 5e5e4abfee
11 changed files with 28 additions and 28 deletions

View File

@@ -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