]> git.ipfire.org Git - thirdparty/tor.git/commit
Use waitpid code to learn when a controlled process dies
authorNick Mathewson <nickm@torproject.org>
Thu, 10 Apr 2014 15:06:10 +0000 (11:06 -0400)
committerNick Mathewson <nickm@torproject.org>
Sat, 14 Jun 2014 15:40:27 +0000 (11:40 -0400)
commitf8344c2d28be2489c8abadd694b5b96fe18efc02
tree8c3e5d2663d6d2f37476d915ad47d41906007f1d
parent4ed03965a5a412bf58540e678f48f6c331ad30d9
Use waitpid code to learn when a controlled process dies

This lets us avoid sending SIGTERM to something that has already
died, since we realize it has already died, and is a fix for the
unix version of #8746.
src/common/util.c
src/common/util.h