Support for multi-DLL projects.

This commit is contained in:
Till Rathmann
2018-07-30 18:12:42 +02:00
parent 12c4128460
commit dd042619e9
6 changed files with 137 additions and 5 deletions

View File

@@ -33,7 +33,7 @@ struct ThreadNameData
const char* name;
ThreadNameData* next;
};
extern std::atomic<ThreadNameData*> s_threadNameData;
extern std::atomic<ThreadNameData*>& s_threadNameData;
#endif
void SetThreadName( std::thread& thread, const char* name )