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