Enabled keepalive for Windows (>= Vista)

This commit is contained in:
SChernykh
2023-07-17 09:49:10 +02:00
parent af05759729
commit be03a249a7
6 changed files with 28 additions and 6 deletions

View File

@@ -55,6 +55,12 @@ char *xmrig::Platform::createUserAgent()
}
bool xmrig::Platform::hasKeepalive()
{
return true;
}
bool xmrig::Platform::setThreadAffinity(uint64_t cpu_id)
{
return true;