]> git.sesse.net Git - stockfish/commit
Disable spinlocks
authorMarco Costalba <mcostalba@gmail.com>
Mon, 2 Mar 2015 07:11:39 +0000 (08:11 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Mon, 2 Mar 2015 07:11:39 +0000 (08:11 +0100)
commitcb2111f0b62afec5fd977e1dd4ca5843bd006956
tree2bd5c29b6c3adf1f3ca08eb7cc42e2dff1e2b876
parent6645115377bd9699ae6785608753d33067b8e036
Disable spinlocks

Now that c++11 branch has been merged in master,
disable unconditionally the spinlocks and use mutex
instead. This will allow to run fishtest even on HT
machines withouth changes.

In the future we will reintorduce spinlocks, once
we will have took care of fishtest.

No functional change.
src/thread.h
src/types.h