mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 12:07:43 +00:00
Fix execute_with_workers test call in uci
This commit is contained in:
+1
-1
@@ -347,7 +347,7 @@ void UCI::loop(int argc, char* argv[]) {
|
|||||||
else if (token == "search") search_cmd(pos, is);
|
else if (token == "search") search_cmd(pos, is);
|
||||||
else if (token == "tasktest")
|
else if (token == "tasktest")
|
||||||
{
|
{
|
||||||
Threads.execute_parallel([](auto& th) {
|
Threads.execute_with_workers([](auto& th) {
|
||||||
std::cout << th.thread_idx() << '\n';
|
std::cout << th.thread_idx() << '\n';
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user