]> git.sesse.net Git - stockfish/commit
Use thread specific mutexes instead of a global one.
authorJoona Kiiski <zamar@meripeto.(none)>
Wed, 11 Mar 2015 21:50:41 +0000 (21:50 +0000)
committerJoona Kiiski <joona.kiiski@gmail.com>
Wed, 11 Mar 2015 21:59:34 +0000 (21:59 +0000)
commit81c7975dcdf37ec96d308f800c2a40f6cb08907e
treea8f80ff76c2a48053ee8bed8e12262e553479866
parent4b59347194f027e597040cb0c35835c688408e18
Use thread specific mutexes instead of a global one.

This is necessary to improve the scalability with high number of cores.

There is no functional change in a single thread mode.

Resolves #281
src/search.cpp
src/thread.cpp
src/thread.h