mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 14:27:45 +00:00
Use fair scheduling of threads under valgrind
fixes some rare case where the master search thread makes no progress, observed in CI.
This commit is contained in:
committed by
nodchip
parent
b889debfb5
commit
f848d67341
@@ -20,7 +20,7 @@ case $1 in
|
|||||||
--valgrind-thread)
|
--valgrind-thread)
|
||||||
echo "valgrind-thread testing started"
|
echo "valgrind-thread testing started"
|
||||||
prefix=''
|
prefix=''
|
||||||
exeprefix='valgrind --error-exitcode=42'
|
exeprefix='valgrind --fair-sched=try --error-exitcode=42'
|
||||||
postfix='1>/dev/null'
|
postfix='1>/dev/null'
|
||||||
threads="2"
|
threads="2"
|
||||||
;;
|
;;
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ case $1 in
|
|||||||
--valgrind-thread)
|
--valgrind-thread)
|
||||||
echo "valgrind-thread testing started"
|
echo "valgrind-thread testing started"
|
||||||
prefix=''
|
prefix=''
|
||||||
exeprefix='valgrind --error-exitcode=42'
|
exeprefix='valgrind --fair-sched=try --error-exitcode=42'
|
||||||
postfix='1>/dev/null'
|
postfix='1>/dev/null'
|
||||||
threads="2"
|
threads="2"
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user