summaryrefslogtreecommitdiff
path: root/Python/dynload_os2.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-04-04 11:05:21 +0200
committerVictor Stinner <victor.stinner@haypocalc.com>2011-04-04 11:05:21 +0200
commit5574cbd653affdd5012ab97e2d9b8d0c85c3eed8 (patch)
tree643c6340247d1d8badd59acd2b7b161064d90a4f /Python/dynload_os2.c
parent9396b164af9dfa8d1bb262907b4e2caae648ae61 (diff)
downloadcpython-5574cbd653affdd5012ab97e2d9b8d0c85c3eed8.tar.gz
Issue #11753: faulthandler thread uses pthread_sigmask()
The thread must not receive any signal. If the thread receives a signal, sem_timedwait() is interrupted and returns EINTR, but in this case, PyThread_acquire_lock_timed() retries sem_timedwait() and the main thread is not aware of the signal. The problem is that some tests expect that the main thread receives the signal, not faulthandler handler, which should be invisible. On Linux, the signal looks to be received by the main thread, whereas on FreeBSD, it can be any thread.
Diffstat (limited to 'Python/dynload_os2.c')
0 files changed, 0 insertions, 0 deletions