]> git.sesse.net Git - stockfish/commit
Remove "Last seconds noise" filtering UCI option
authorMarco Costalba <mcostalba@gmail.com>
Mon, 13 Jul 2009 10:44:33 +0000 (11:44 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Wed, 15 Jul 2009 07:35:00 +0000 (08:35 +0100)
commitea06200423731c35dc62ed4a40c47e67eac1818a
tree498f69b33af541bf46bb2db7de0d9477fa792693
parent3849beb979ee17f027d83bbc15d1da85175b9798
Remove "Last seconds noise" filtering UCI option

This feature makes sense during development, but
It doesn't seem to make sense for normal users.

Also fix a possible race where the GUI adjudicates
the game a fraction of second before the engine sets
looseOnTime flag so that it will bogusly waits until
it ran out of time at the beginning of the next new game.

The fix is to always reset looseOnTime at the beginning
of a new game.

Race condition spotted by Tord.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/search.cpp
src/ucioption.cpp