mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 09:06:45 +08:00
Rename wake_up() to notify_one()
To align to C++ std::thread conventions. No functional change.
This commit is contained in:
@@ -76,7 +76,7 @@ void UCI::loop(const string& args) {
|
||||
if (token != "ponderhit" || Search::Signals.stopOnPonderhit)
|
||||
{
|
||||
Search::Signals.stop = true;
|
||||
Threads.main_thread()->wake_up(); // Could be sleeping
|
||||
Threads.main_thread()->notify_one(); // Could be sleeping
|
||||
}
|
||||
else
|
||||
Search::Limits.ponder = false;
|
||||
|
||||
Reference in New Issue
Block a user