]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Add small sleep to none/tests/pth_2sig to help prevent hanging
authorPaul Floyd <pjfloyd@wanadoo.fr>
Mon, 23 May 2022 19:27:58 +0000 (21:27 +0200)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Mon, 23 May 2022 19:27:58 +0000 (21:27 +0200)
commita4151207a28b506cdd1e7c095e4aebaaf289a384
tree17a7c358d6d1231b288829b808d8622009b9cef2
parent90763ca763e129ff7484d5aabb28a0dfb9fac1b6
Add small sleep to none/tests/pth_2sig to help prevent hanging

On FreeBSD 13.0 x86 this testcase was hanging on some systems.
It seems like the SIGTERM signals were not being recieved
before the child exited, which left the parent hanging in the
pause() waiting to be killed.

Reported, patch provided and tested by Nick Briggs.
none/tests/pth_2sig.c