From 25e5c99dec793dfcc45a41873af1760392ee8844 Mon Sep 17 00:00:00 2001 From: megamage Date: Wed, 13 May 2009 18:22:21 -0500 Subject: [7810] Moved ZThread related code on ACE framework. Author: Ambal Remove ZThread source code from mangos. --HG-- branch : trunk --- src/shared/Database/DatabasePostgre.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/shared/Database/DatabasePostgre.h') diff --git a/src/shared/Database/DatabasePostgre.h b/src/shared/Database/DatabasePostgre.h index c7242add572..53f0802f86c 100644 --- a/src/shared/Database/DatabasePostgre.h +++ b/src/shared/Database/DatabasePostgre.h @@ -22,7 +22,6 @@ #define _DatabasePostgre_H #include "Policies/Singleton.h" -#include "zthread/FastMutex.h" #include #ifdef WIN32 @@ -63,10 +62,8 @@ class DatabasePostgre : public Database // must be call before finish thread run void ThreadEnd(); private: - ZThread::FastMutex mMutex; - ZThread::FastMutex tranMutex; - - ZThread::ThreadImpl* tranThread; + ACE_Thread_Mutex mMutex; + ACE_Based::Thread * tranThread; PGconn *mPGconn; -- cgit v1.2.3