Revert "Fix a race on Limits::ponder"

This reverts commit 5410424e3d.

After the commit pondering is broken, so revert for now. I will
resubmit with a proper fix.

The issue is mine, Joost original code is correct.

No functional change.
This commit is contained in:
Marco Costalba
2017-08-10 10:57:28 -07:00
parent 5410424e3d
commit 44236f4ed9
5 changed files with 11 additions and 10 deletions

View File

@@ -187,7 +187,7 @@ void ThreadPool::start_thinking(Position& pos, StateListPtr& states,
main()->wait_for_search_finished();
ponder = stopOnPonderhit = stop = false;
stopOnPonderhit = stop = false;
Search::Limits = limits;
Search::RootMoves rootMoves;