mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +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:
parent
5af09cfda5
commit
9382f854b3
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
;;
|
||||
|
|
Loading…
Add table
Reference in a new issue