summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-10-12 21:49:17 (GMT)
committerGuido van Rossum <guido@python.org>2001-10-12 21:49:17 (GMT)
commit80230998b9ce585bc27a81c2ebad2e4c69fb12f6 (patch)
tree2e61dc67b555081c9bf2e703f1c889e5923636ec /Misc
parent3a40f32aa61c2ccd0799f25492c6b94cee651771 (diff)
downloadcpython-80230998b9ce585bc27a81c2ebad2e4c69fb12f6.zip
cpython-80230998b9ce585bc27a81c2ebad2e4c69fb12f6.tar.gz
cpython-80230998b9ce585bc27a81c2ebad2e4c69fb12f6.tar.bz2
Add SF patch #468347 -- mask signals for non-main pthreads, by Jason Lowe:
This patch updates Python/thread_pthread.h to mask all signals for any thread created. This will keep all signals masked for any thread that isn't the initial thread. For Solaris and Linux, the two platforms I was able to test it on, it solves bug #465673 (pthreads need signal protection) and probably will solve bug #219772 (Interactive InterPreter+ Thread -> core dump at exit). I'd be great if this could get some testing on other platforms, especially HP-UX pre 11.00 and post 11.00, as I had to make some guesses for the DCE thread case. AIX is also a concern as I saw some mention of using sigthreadmask() as a pthread_sigmask() equivalent, but this patch doesn't use sigthreadmask(). I don't have access to AIX.
Diffstat (limited to 'Misc')
0 files changed, 0 insertions, 0 deletions