WINDOWS IS SUFFERING

This commit is contained in:
Adam Ierymenko 2014-03-25 17:31:03 -07:00
commit 67a85221d5
7 changed files with 114 additions and 74 deletions

View file

@ -88,11 +88,16 @@ private:
void (*_handler)(void *,IpcConnection *,IpcConnection::EventType,const char *);
void *_arg;
#ifdef __WINDOWS__
volatile HANDLE _sock;
HANDLE _sock;
std::string _writeBuf;
bool _incoming;
#else
volatile int _sock;
#endif
Mutex _writeLock;
Thread _thread;
volatile bool _run;
volatile bool _running;
};
} // namespace ZeroTier