From 04a35064522994a86ff436cc1705f0ae768bb23f Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Thu, 1 Dec 2016 14:53:48 +0100 Subject: [PATCH] Fix instant commands during think after ponder hit The new method of suspending command processing only after peeking at the next command to see if it should terminate the search was not yet working after a ponder hit turned a ponder search into thinking. --- UCI2WB.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/UCI2WB.c b/UCI2WB.c index 5ebe5ef..7f0223e 100644 --- a/UCI2WB.c +++ b/UCI2WB.c @@ -488,7 +488,7 @@ GUI2Engine() char *draw = drawOffer ? " draw" : ""; drawOffer = 0; pondering = 0; pause = 2; moveNr++; startTime = GetTickCount(); // clock starts running now EPRINT((f, "# ponderhit%s\n", draw)) fflush(toE); fflush(stdout); - Sync(PAUSE); // block input during thinking + think = 2; // request blocking input during thinking goto nomove; } StopPonder(1); searching = 0; -- 1.7.0.4