Allow split point master to sleep

Let to sleep even split point master, it will be waken up
by its slaves when they return from the search.

With this patch we get maximum HT speedup

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2010-10-21 07:46:38 +01:00
parent c81bf3743f
commit 96e589646d
2 changed files with 25 additions and 15 deletions

View File

@@ -55,6 +55,7 @@ struct SplitPoint {
bool pvNode, mateThreat;
Value beta;
int ply;
int master;
Move threatMove;
SearchStack sstack[MAX_THREADS][PLY_MAX_PLUS_2];