]> git.sesse.net Git - stockfish/commitdiff
Simplify finished search in ponder/infinite mode.
authorJoost VandeVondele <Joost.VandeVondele@gmail.com>
Fri, 4 Aug 2017 17:48:07 +0000 (19:48 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Fri, 11 Aug 2017 05:42:52 +0000 (22:42 -0700)
In this rare case (e.g. go infinite on a stalemate),
just spin till ponderhit/stop comes.

The Thread::wait() is a renmant of the old YBWC
code, today with lazy SMP, threads don't need to
wait when outside of their idle loop.

No functional change.


No differences found