diff options
author | Yehonal <yehonal.azeroth@gmail.com> | 2016-08-16 00:01:37 +0200 |
---|---|---|
committer | Yehonal <yehonal.azeroth@gmail.com> | 2016-08-19 10:58:37 +0200 |
commit | ea286f7332894ddc74f8ab524e42193b57d99f47 (patch) | |
tree | 6b2dc94ac298003d242d13e3ad36c02251553a76 /src/authserver | |
parent | 3761e9d8433f4d031b3477b787134a1d868a8971 (diff) |
Rewritten Threading system using c++11 std instead of ACE
It also allow full compilation with clang under all supported platforms
Need tests
Diffstat (limited to 'src/authserver')
-rw-r--r-- | src/authserver/Server/AuthSocket.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |