]> git.sesse.net Git - stockfish/commitdiff
Use spinlock instead of mutex for Threads and SplitPoint
authorMarco Costalba <mcostalba@gmail.com>
Sun, 22 Feb 2015 13:59:55 +0000 (14:59 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Mon, 23 Feb 2015 12:47:07 +0000 (13:47 +0100)
It is reported to be defenitly faster with increasing
number of threads, we go from a +3.5% with 4 threads
to a +15% with 16 threads.

The only drawback is that now when testing with more
threads than physical available cores, the speed slows
down to a crawl. This is expected and was similar at what
we had setting the old sleepingThreads to false.

No functional change.


No differences found