]> git.sesse.net Git - stockfish/commit
Explicitly rely on pthreads if possible
authorJoost VandeVondele <Joost.VandeVondele@gmail.com>
Fri, 21 Aug 2020 20:10:55 +0000 (22:10 +0200)
committerJoost VandeVondele <Joost.VandeVondele@gmail.com>
Sat, 22 Aug 2020 09:00:45 +0000 (11:00 +0200)
commit34f67c57223d73ad40d583ccc033c75eb0df2453
tree4ae07f1c4537371ca0acec8cef599d3ba4b35520
parentcbcb05ca092160137c166f84e7e9da3d6bb4e2d3
Explicitly rely on pthreads if possible

allows us to set the needed stacksize on thread creation.

Useful for environments with too small a default stack size (e.g. Alpine Linux with musl).

Passed STC, no regression:

LLR: 2.96 (-2.94,2.94) {-1.25,0.25}
Total: 17816 W: 1344 L: 1275 D: 15197
Ptnml(0-2): 30, 1057, 6682, 1092, 47
https://tests.stockfishchess.org/tests/view/5f402b5587a5c3c63d8f534d

closes https://github.com/official-stockfish/Stockfish/pull/3047

fixes https://github.com/official-stockfish/Stockfish/issues/3041

No functional change.
src/Makefile
src/thread_win32_osx.h