]> git.sesse.net Git - stockfish/commit
Be sure threads are woken in wake_sleeping_threads()
authorMarco Costalba <mcostalba@gmail.com>
Sat, 13 Feb 2010 11:02:34 +0000 (12:02 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 13 Feb 2010 11:02:34 +0000 (12:02 +0100)
commit8a504d36f9b740c6d4c5bba6855148c5be40556e
treee717623d69e98635b279611ce3adb03a80ccdfd7
parent093dd8fe88d278db6cd5c956a771a45a295e1de3
Be sure threads are woken in wake_sleeping_threads()

Wait inside wake_sleeping_threads() for the threads to be
effectively and reliably woken up.

No functional change.

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