]> git.ipfire.org Git - thirdparty/valgrind.git/commit
The two patches attached resolve the exit-hang (of OOo) bug for me. The first
authorNicholas Nethercote <njn@valgrind.org>
Sat, 26 Mar 2005 20:08:06 +0000 (20:08 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Sat, 26 Mar 2005 20:08:06 +0000 (20:08 +0000)
commitd5717b3e8ceec92cbd81663e83e0aa2cdb971f29
tree3a6a1a0364f29d744f048887435e0e043249214a
parent203b7b66387e83a63981ef5e4694c7004518e948
The two patches attached resolve the exit-hang (of OOo) bug for me.  The first
fixes getppid(), and the second fixes the next bug which is revealed
once getppid() does what LinuxThreads wants;  LinuxThreads uses SIGKILL
to kill off stray threads, but if we send naked SIGKILLs to Valgrind
threads, they'll die without cleaning up or informing anyone of their
death, which means that they're waited on forever.

ADAPTED FROM CVS HEAD

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3449
coregrind/core.h
coregrind/linux/core_os.h
coregrind/linux/syscalls.c
coregrind/vg_syscalls.c
coregrind/x86-linux/syscalls.c