From: Marco Costalba Date: Sun, 27 Sep 2015 12:49:33 +0000 (+0200) Subject: Rework lock protecting X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=3c0fe1d9b252acca8107b7bece636e2bc20d6411;hp=3c0fe1d9b252acca8107b7bece636e2bc20d6411 Rework lock protecting When changing 'search' and 'splitPointsSize' we have to use thread locks, not split point ones, because can_join() is called under the formers. Verified succesfully with 24 hours toruture tests with 20 cores machine by Louis Zulli: it does not hangs. Verifyed for no regressions with STC, 7 threads: LLR: 2.94 (-2.94,2.94) [-3.00,1.00] Total: 52804 W: 8159 L: 8087 D: 36558 No functional change. ---