diff options
author | megamage <none@none> | 2009-05-13 18:22:21 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-05-13 18:22:21 -0500 |
commit | 25e5c99dec793dfcc45a41873af1760392ee8844 (patch) | |
tree | f79107e9d93dc351f5b4f7b05924eed793f067d3 /src/shared/Database/DatabaseMysql.h | |
parent | 9dd5a1c6d7a6656b8ec71ff33659acd2294633ad (diff) |
[7810] Moved ZThread related code on ACE framework. Author: Ambal
Remove ZThread source code from mangos.
--HG--
branch : trunk
Diffstat (limited to 'src/shared/Database/DatabaseMysql.h')
-rw-r--r-- | src/shared/Database/DatabaseMysql.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/shared/Database/DatabaseMysql.h b/src/shared/Database/DatabaseMysql.h index 2fa157e75a5..7f5730f9579 100644 --- a/src/shared/Database/DatabaseMysql.h +++ b/src/shared/Database/DatabaseMysql.h @@ -25,7 +25,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 @@ -65,9 +66,9 @@ class TRINITY_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; |