Reduce lock contention in idle_loop

Release split point lock before to wake up
master thread. This seems to increase speed
in case "sleeping threads" are used:

After 7792 games with 4 threads at very fast TC (2"+0.05)
Mod vs Orig 1722 - 1627 - 4443 ELO +4 (+- 5.1)

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2012-02-03 13:18:51 +01:00
parent 57e942145c
commit c94cfebb7e
3 changed files with 12 additions and 12 deletions

View File

@@ -40,7 +40,6 @@ struct SplitPoint {
Depth depth;
Value beta;
int nodeType;
int ply;
int master;
Move threatMove;