[issue14666] test_sendall_interrupted hangs on FreeBSD with a zombi multiprocessing thread

Antoine Pitrou report at bugs.python.org
Wed Apr 25 17:16:54 CEST 2012


Antoine Pitrou <pitrou at free.fr> added the comment:

> I don't think that you should call pthread_sigmask(). It looks like a
> workaround for this issue, whereas resource_sharer.stop() is the
> correct fix.

The problem is not only with test_multiprocessing and test_socket; any test which uses multiprocessing could have side effects on any subsequent tests which uses signals. Also, applicative code could be affected.

So I think pthread_sigmask() *is* the solution.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14666>
_______________________________________


More information about the Python-bugs-list mailing list