Avoid using EmptySearchStack global
authorMarco Costalba <mcostalba@gmail.com>
Tue, 2 Jun 2009 08:35:49 +0000 (09:35 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Tue, 2 Jun 2009 08:35:49 +0000 (09:35 +0100)
commite1ed67aacbe7fb4b462b9141d3137bed0a3ea70b
treef3218e2cb07eb0186feefd3a02817fc206e69e58
parent5b1316f7bbb259b87cecc276e4a1ce78b1a0e51b
Avoid using EmptySearchStack global

This reduces contention in SMP case and also
cleanups the code a bit.

No functional change

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