mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 10:37:01 +00:00
[7810] Moved ZThread related code on ACE framework.
Remove ZThread source code from mangos. Signed-off-by: AlexDereka <dereka.alex@gmail.com>
This commit is contained in:
parent
f117ce3420
commit
2aff48cc5d
182 changed files with 684 additions and 21041 deletions
|
|
@ -23,7 +23,8 @@
|
|||
|
||||
#include "Database.h"
|
||||
#include "Policies/Singleton.h"
|
||||
#include "zthread/FastMutex.h"
|
||||
#include "ace/Thread_Mutex.h"
|
||||
#include "ace/Guard_T.h"
|
||||
|
||||
#ifdef WIN32
|
||||
#define FD_SETSIZE 1024
|
||||
|
|
@ -63,9 +64,9 @@ class MANGOS_DLL_SPEC DatabaseMysql : public Database
|
|||
// must be call before finish thread run
|
||||
void ThreadEnd();
|
||||
private:
|
||||
ZThread::FastMutex mMutex;
|
||||
ACE_Thread_Mutex mMutex;
|
||||
|
||||
ZThread::ThreadImpl* tranThread;
|
||||
ACE_Based::Thread * tranThread;
|
||||
|
||||
MYSQL *mMysql;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue