From ea286f7332894ddc74f8ab524e42193b57d99f47 Mon Sep 17 00:00:00 2001 From: Yehonal Date: Tue, 16 Aug 2016 00:01:37 +0200 Subject: Rewritten Threading system using c++11 std instead of ACE It also allow full compilation with clang under all supported platforms Need tests --- src/authserver/Server/AuthSocket.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/authserver/Server/AuthSocket.cpp') diff --git a/src/authserver/Server/AuthSocket.cpp b/src/authserver/Server/AuthSocket.cpp index d4198312ff..a55612451a 100644 --- a/src/authserver/Server/AuthSocket.cpp +++ b/src/authserver/Server/AuthSocket.cpp @@ -134,7 +134,7 @@ typedef struct AuthHandler #endif // Launch a thread to transfer a patch to the client -class PatcherRunnable: public ACE_Based::Runnable +class PatcherRunnable: public ACORE::Runnable { public: PatcherRunnable(class AuthSocket*); @@ -1010,7 +1010,7 @@ bool AuthSocket::_HandleXferResume() socket().recv((char*)&start, sizeof(start)); fseek(pPatch, long(start), 0); - ACE_Based::Thread u(new PatcherRunnable(this)); + ACORE::Thread u(new PatcherRunnable(this)); return true; } @@ -1042,7 +1042,7 @@ bool AuthSocket::_HandleXferAccept() socket().recv_skip(1); // clear input buffer fseek(pPatch, 0, 0); - ACE_Based::Thread u(new PatcherRunnable(this)); + ACORE::Thread u(new PatcherRunnable(this)); return true; } -- cgit v1.2.3