mirror of
https://github.com/mangosfour/server.git
synced 2025-12-15 01:37:00 +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
|
|
@ -20,7 +20,6 @@
|
|||
#define _DatabasePostgre_H
|
||||
|
||||
#include "Policies/Singleton.h"
|
||||
#include "zthread/FastMutex.h"
|
||||
#include <stdarg.h>
|
||||
|
||||
#ifdef WIN32
|
||||
|
|
@ -61,10 +60,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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue