Nazara now use thread_local (GCC 4.8 is required)
Former-commit-id: 09c0c24ede4a6860acfc71b9532f286bd1381dda
This commit is contained in:
@@ -22,8 +22,8 @@
|
||||
|
||||
namespace
|
||||
{
|
||||
NAZARA_THREADLOCAL const NzContext* currentContext = nullptr;
|
||||
NAZARA_THREADLOCAL const NzContext* threadContext = nullptr;
|
||||
thread_local const NzContext* currentContext = nullptr;
|
||||
thread_local const NzContext* threadContext = nullptr;
|
||||
|
||||
std::vector<NzContext*> contexts;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user