Option "yield" enabled by default and added command line option --cpu-no-yield.

This commit is contained in:
XMRig
2019-12-04 08:50:54 +07:00
parent a556070b42
commit 901f1a7ab1
9 changed files with 15 additions and 4 deletions

View File

@@ -86,6 +86,7 @@ static const option options[] = {
{ "max-cpu-usage", 1, nullptr, IConfig::CPUMaxThreadsKey },
{ "cpu-max-threads-hint", 1, nullptr, IConfig::CPUMaxThreadsKey },
{ "cpu-memory-pool", 1, nullptr, IConfig::MemoryPoolKey },
{ "cpu-no-yield", 0, nullptr, IConfig::YieldKey },
# ifdef XMRIG_FEATURE_TLS
{ "tls", 0, nullptr, IConfig::TlsKey },
{ "tls-fingerprint", 1, nullptr, IConfig::FingerprintKey },