mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 07:48:02 +00:00
Rewritten Threading system using c++11 std instead of ACE
It also allow full compilation with clang under all supported platforms Need tests
This commit is contained in:
@@ -24,7 +24,7 @@ class MySQL
|
||||
{
|
||||
mysql_thread_init();
|
||||
sLog->outSQLDriver("Core thread with ID [" UI64FMTD "] initializing MySQL thread.",
|
||||
(uint64)ACE_Based::Thread::currentId());
|
||||
ACORE::Thread::currentId());
|
||||
}
|
||||
|
||||
/*! Shuts down MySQL thread and frees resources, should only be called
|
||||
@@ -35,7 +35,7 @@ class MySQL
|
||||
{
|
||||
mysql_thread_end();
|
||||
sLog->outSQLDriver("Core thread with ID [" UI64FMTD "] shutting down MySQL thread.",
|
||||
(uint64)ACE_Based::Thread::currentId());
|
||||
ACORE::Thread::currentId());
|
||||
}
|
||||
|
||||
static void Library_Init()
|
||||
@@ -49,4 +49,4 @@ class MySQL
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user