mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 07:27:46 +00:00
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.
This commit is contained in:
@@ -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