]> git.sesse.net Git - stockfish/commit
Reset thread flags to a known state before to exit think()
authorMarco Costalba <mcostalba@gmail.com>
Sun, 14 Feb 2010 14:58:46 +0000 (15:58 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 14 Feb 2010 14:59:12 +0000 (15:59 +0100)
commit40a7ffd53fdcd63a7eeb1382e54a5bdcd455edb7
treeabd9f2c9eebdc5f6f9e812bb675c35778d4a961a
parent8eae6a95fb3b446e2782be12aff519164e521e4d
Reset thread flags to a known state before to exit think()

Among them 'stop' and 'printCurrentLineRequest' could have
random value, so reset to a known state before to leave the
search.

No functional change.

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