Rationalize naming/access to current thread-local-storage scheme. However, the preprocessor tokenizer is not thread-safe, so this may all change.

Also adding missing test.


git-svn-id: https://cvs.khronos.org/svn/repos/ogl/trunk/ecosystem/public/sdk/tools/glslang@22249 e7fa87d3-cd2b-0410-9028-fcbf551c1848
This commit is contained in:
John Kessenich
2013-07-02 20:18:59 +00:00
parent 1fde51d3fb
commit 73ed17a87b
10 changed files with 48 additions and 21 deletions

View File

@@ -89,7 +89,7 @@ bool InitThread()
InitializeGlobalPools();
if (!InitializeGlobalParseContext())
if (!InitializeThreadParseContext())
return false;
if (!OS_SetTLSValue(ThreadInitializeIndex, (void *)1)) {