mirror of
https://github.com/jwinterm/xmr-stak.git
synced 2026-10-17 05:41:41 +02:00
print warning
This commit is contained in:
@@ -305,7 +305,8 @@ void minethd::pin_thd_affinity()
|
||||
#if defined(__APPLE__)
|
||||
printer::inst()->print_msg(L1, "WARNING on MacOS thread affinity is only advisory.");
|
||||
#endif
|
||||
thd_setaffinity(oWorkThd.native_handle(), affinity);
|
||||
if(!thd_setaffinity(oWorkThd.native_handle(), affinity))
|
||||
printer::inst()->print_msg(L1, "WARNING setting affinity failed.");
|
||||
}
|
||||
|
||||
void minethd::work_main()
|
||||
|
||||
Reference in New Issue
Block a user