New submission from Antoine Pitrou: Discovered in issue30703. When POSIX semaphores are not used for Python locks, pthread_mutex_lock() is called for acquiring a lock even when asked not to block. This can be disastrous when called from a signal handler.
---------- components: Interpreter Core messages: 296886 nosy: haypo, ned.deily, pitrou, ronaldoussoren priority: normal severity: normal stage: needs patch status: open title: PyThread_acquire_lock can block even when asked not ot type: behavior versions: Python 2.7, Python 3.5, Python 3.6, Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30765> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com