]> git.ipfire.org Git - thirdparty/tor.git/commit
More hacking around spawn_func issues
authorNick Mathewson <nickm@torproject.org>
Fri, 7 Feb 2014 18:13:15 +0000 (13:13 -0500)
committerNick Mathewson <nickm@torproject.org>
Fri, 7 Feb 2014 18:13:15 +0000 (13:13 -0500)
commit1ebdaf5788cb7969ee3f853ede4e6e3364343fc0
treed38de02c12628bcfb4f10dd44d5a39d390f30414
parent85b46d57bcc40b8053dafe5d0ebb4b0bb611b484
More hacking around spawn_func issues

This time, we use a pthread_attr to make sure that if pthread_create
succeeds, the thread is successfully detached.

This probably isn't the big thing going on with 4345, since it'd be
a bit weird for pthread_detach to be failing.  But it's worth
getting it right.
changes/bug4345
src/common/compat.c