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
/
benchmark.cpp
diff --git
a/src/benchmark.cpp
b/src/benchmark.cpp
index e27e81fee5a838142cccdce9b46622d76d8ef50b..fbf7b0e3a88990004ecbbe5ec54a02ecb20c1290 100644
(file)
--- a/
src/benchmark.cpp
+++ b/
src/benchmark.cpp
@@
-158,7
+158,7
@@
void benchmark(const Position& current, istream& is) {
else
{
Threads.start_thinking(pos, limits, st);
- Threads.
wait_for_think_finished
();
+ Threads.
main()->join
();
nodes += Search::RootPos.nodes_searched();
}
}