]> git.sesse.net Git - stockfish/commitdiff
Allow to disable spinlocks
authorMarco Costalba <mcostalba@gmail.com>
Sun, 1 Mar 2015 16:12:09 +0000 (17:12 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 1 Mar 2015 16:16:05 +0000 (17:16 +0100)
And use mutex instead. You may never want to do this.
It is a workaround to run c++11 on fishtest where many
machiens have HTenabled and this can be a problem when
number of cores set is higher than number of physical cores.

To disable spinlocks, just compile with -DNO_SPINLOCK flag

No functional change.


No differences found