Assertion failed in d:\programs\upp-svn\uppsrc\Draw\DrawLock.cpp, line 32 sGLockLevel > 0
Assertion failed in d:\programs\upp-svn\uppsrc\Draw\DrawLock.cpp, line 32 sGLockLevel > 0
luzr wrote on Fri, 21 August 2009 14:33 |
Maybe you should just USEMALLOC then... In any case, to stay on the safe side, you TLS implementation should use malloc/free (and maybe then you could use such TLS to make U++ allocator work, although any positive effects will be likely diminished by slow TLS). |
Quote: |
In file included from C:/upp/out/Draw/MINGW.Debug.Debug_full.Gui.Mt\$bl itz.cpp:3: C:\upp\uppsrc\Draw\DrawLock.cpp:11: error: thread-local storage not supported for this target In file included from C:/upp/out/Draw/MINGW.Debug.Debug_full.Gui.Mt\$bl itz. sGlokLevel > 0".cpp:10: C:\upp\uppsrc\Draw\Font.cpp:266: error: thread-local storage not supported for this target C:\upp\uppsrc\Draw\Font.cpp:328: error: thread-local storage not supported for this target C:\upp\uppsrc\Draw\Font.cpp:355: error: thread-local storage not supported for this target C:\upp\uppsrc\Draw\Font.cpp:356: error: thread-local storage not supported for this target C:\upp\uppsrc\Draw\Font.cpp:357: error: thread-local storage not supported for this target ... |
#define thread__ __declspec(thread)
__declspec(thread)
__thread