mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-18 15:18:17 +00:00
WINDOWS IS SUFFERING
This commit is contained in:
@ -80,6 +80,13 @@ public:
|
||||
Sleep((DWORD)ms);
|
||||
}
|
||||
|
||||
// Not available on *nix platforms
|
||||
static inline void cancelIO(const Thread &t)
|
||||
{
|
||||
if (t._th != NULL)
|
||||
CancelSynchronousIo(t._th);
|
||||
}
|
||||
|
||||
private:
|
||||
HANDLE _th;
|
||||
DWORD _tid;
|
||||
|
Reference in New Issue
Block a user