]> git.ipfire.org Git - thirdparty/valgrind.git/commit
make pth_self_kill_15_other test deterministic
authorPetar Jovanovic <mips32r2@gmail.com>
Tue, 13 Aug 2019 14:51:37 +0000 (14:51 +0000)
committerPetar Jovanovic <mips32r2@gmail.com>
Tue, 13 Aug 2019 14:54:58 +0000 (14:54 +0000)
commit14911f7d6cc92df110c5987549bfcd84279009a5
tree00c80f2c033c4243e3e4e57b4a23a2b78221e9ac
parentf605da3ef5f8b8573043fd1abae59722b8d37cee
make pth_self_kill_15_other test deterministic

Modify the pth_self_kill_15_other test to make its behaviour deterministic
by introducing a pthread_join call. Do so by modifying the signal handler
for SIGTERM for the spawned thread which would issue the pthread_join call
prior to exiting.

This fixes KDE #410599.

Patch by Stefan Maksimovic.
NEWS
none/tests/pth_self_kill.c