diff options
Diffstat (limited to 'NetEx/NetLink.h')
-rw-r--r-- | NetEx/NetLink.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/NetEx/NetLink.h b/NetEx/NetLink.h index c039fe7..33024f3 100644 --- a/NetEx/NetLink.h +++ b/NetEx/NetLink.h @@ -15,11 +15,12 @@ #ifndef NetLink_h #define NetLink_h +#include <mutex> + #include <windows.h> #include "NetAddr.h" #include "NetSock.h" #include "List.h" -#include "ThreadSync.h" // +-------------------------------------------------------------------+ @@ -91,7 +92,7 @@ protected: HANDLE hnet; bool shutdown; - ThreadSync sync; + std::mutex sync; DWORD resend_time; DWORD traffic_time; |