# test :
#   info threads valgrind specific output
#   the user can control-c an process with all threads in WaitSys
#          and modify some variables
#   the user can control-c an process with all threads in Running/Yielding
#          and modify some variables
# sleepers is started so that it burns CPU.
# We then interrupt the process.
# We modify variables so that instead of burning cpu, sleepers blocks
# all threads in a select syscall.
prog: sleepers
args: 1000000000 0 100000 BSBSBSBS 1
vgopts: --tool=none --vgdb=yes --vgdb-error=0 --vgdb-prefix=./vgdb-prefix-nlcontrolc
stderr_filter: filter_stderr
# Bug 338633 nlcontrol hangs on arm64 currently.
prereq: test -e gdb -a -f vgdb.invoker && ! ../tests/os_test solaris
progB: gdb
argsB: --quiet -l 60 --nx ./sleepers
stdinB: nlcontrolc.stdinB.gdb
stdoutB_filter: filter_gdb
stderrB_filter: filter_make_empty
