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:
Yehonal
2016-08-16 00:01:37 +02:00
parent 3761e9d843
commit ea286f7332
14 changed files with 104 additions and 249 deletions

View File

@@ -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