projects
/
stockfish
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Small tweak to idle_loop()
[stockfish]
/
src
/
search.cpp
diff --git
a/src/search.cpp
b/src/search.cpp
index 50f5939d3497d70a5e90c3517331250b39fbe983..340d993a2bb57bb3b61ef9761e4bcebf4aa96448 100644
(file)
--- a/
src/search.cpp
+++ b/
src/search.cpp
@@
-1425,7
+1425,7
@@
void Thread::idle_loop() {
while (!exit)
{
// If this thread has been assigned work, launch a search
-
if
(searching)
+
while
(searching)
{
Threads.mutex.lock();