]> git.sesse.net Git - stockfish/commit
Allow threads to sleep when available
authorMarco Costalba <mcostalba@gmail.com>
Sun, 7 Nov 2010 22:45:13 +0000 (23:45 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 11 Dec 2010 08:22:38 +0000 (09:22 +0100)
commitdedc6d758837a9ac141832fb69c2258b4711ea56
treef4b5f4345b7f3f096f4f9a447093ebed7be17095
parent38e7ec3e441762ac39c2a1aff41e8b0451ec9676
Allow threads to sleep when available

By mean of an an UCI option it is possible let the available
threads to sleep, this should help with Hyper Threading although
is not the best solution when number of threads equals number
of available cores.

Option is disabled by default.

No functional change.

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