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>
This commit is contained in:
Marco Costalba
2009-06-02 09:35:49 +01:00
parent 5b1316f7bb
commit e1ed67aacb
5 changed files with 16 additions and 21 deletions

View File

@@ -69,7 +69,6 @@ struct SearchStack {
//// Global variables
////
extern SearchStack EmptySearchStack;
extern TranspositionTable TT;
extern int ActiveThreads;
extern Lock SMPLock;