Duncan Findlay <dun...@duncf.ca> added the comment:

This is definitely still an issue.

With the "pthread_sig" patch attached to this bug, both on FreeBSD and on 
linux, any processes spawned from a thread seem to have their signals blocked, 
so they can not be killed.

Without it, on FreeBSD, the behavior described by bamby is still a problem.

I've attached a test case that adapts bamby's example code into a test, and 
shows the "unkillable subprocess" problem I described above.

On FreeBSD without the patch, test_signal fails, and with the patch test_thr 
fails.

On Linux and OS X, without the patch, all tests pass. With the patch, test_thr 
fails.

I hope somebody can come up with a better fix.

----------
Added file: http://bugs.python.org/file20046/thread_test.py

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue1975>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to