projects
/
stockfish
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use only one ConditionVariable to sync UI
[stockfish]
/
src
/
uci.cpp
diff --git
a/src/uci.cpp
b/src/uci.cpp
index b7127b758153c9fd008563f2f7412a5802ebdfad..7a0ead60c09de931b0275470501fdbae30c33e9c 100644
(file)
--- a/
src/uci.cpp
+++ b/
src/uci.cpp
@@
-205,7
+205,7
@@
void UCI::loop(int argc, char* argv[]) {
} while (token != "quit" && argc == 1); // Passed args have one-shot behaviour
- Threads.
wait_for_think_finished
(); // Cannot quit whilst the search is running
+ Threads.
main()->join
(); // Cannot quit whilst the search is running
}