]> git.sesse.net Git - stockfish/commitdiff
In split() release the lock before slow search stack copy
authorMarco Costalba <mcostalba@gmail.com>
Mon, 25 Jan 2010 13:06:35 +0000 (14:06 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Mon, 25 Jan 2010 13:12:30 +0000 (14:12 +0100)
Once we have allocated our slave threads and we have removed
master from available threads we can safely remove the lock
so that the lenghty search stack copy operation will not
impact lock contention.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>

No differences found