From: Joost VandeVondele Date: Fri, 4 Aug 2017 17:48:07 +0000 (+0200) Subject: Simplify finished search in ponder/infinite mode. X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=2783203428300cf0a6305b64691ad38fa340f253;hp=2783203428300cf0a6305b64691ad38fa340f253 Simplify finished search in ponder/infinite mode. 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. ---