]> git.sesse.net Git - stockfish/commitdiff
Add support for node limited search
authorMarco Costalba <mcostalba@gmail.com>
Sun, 30 Sep 2012 04:49:56 +0000 (06:49 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 30 Sep 2012 08:19:22 +0000 (10:19 +0200)
Handle also the SMP case. This has been quite tricky, not
trivial to enforce the node limit in SMP case becuase
with "helpful master" concept we can have recursive split
points and we cannot lock them all at once so there is the
risk of counting the same nodes more than once.

Anyhow this patch should be race free and counted nodes are
correct.

No functional change.


No differences found