1
0
Fork 0

Schedule threads fairly under valgrind

fixes a rare case that can cause CI to fail when running multithreaded under valgrind.

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

No functional change.
pull/3179/head
Joost VandeVondele 2020-09-30 21:22:36 +02:00
parent 5af09cfda5
commit 9382f854b3
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ case $1 in
--valgrind-thread)
echo "valgrind-thread testing started"
prefix=''
exeprefix='valgrind --error-exitcode=42'
exeprefix='valgrind --fair-sched=try --error-exitcode=42'
postfix='1>/dev/null'
threads="2"
;;