Skip to content
Snippets Groups Projects
Commit da070d42 authored by fireice-uk's avatar fireice-uk
Browse files

print warning

parent c897fc04
No related branches found
No related tags found
No related merge requests found
...@@ -305,7 +305,8 @@ void minethd::pin_thd_affinity() ...@@ -305,7 +305,8 @@ void minethd::pin_thd_affinity()
#if defined(__APPLE__) #if defined(__APPLE__)
printer::inst()->print_msg(L1, "WARNING on MacOS thread affinity is only advisory."); printer::inst()->print_msg(L1, "WARNING on MacOS thread affinity is only advisory.");
#endif #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() void minethd::work_main()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment