[issue30768] PyThread_acquire_lock_timed() should recompute the timeout when interrupted by a signal

STINNER Victor report at bugs.python.org
Tue Oct 24 06:31:59 EDT 2017


STINNER Victor <victor.stinner at gmail.com> added the comment:

To check if you are using pthread+semaphore, use:

haypo at selma$ ./python -c 'import sys; print(sys.thread_info)'
sys.thread_info(name='pthread', lock='semaphore', version='NPTL 2.25')

Here you have pthread+semaphore. It's Fedora 26 running Linux kernel 4.13.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue30768>
_______________________________________


More information about the Python-bugs-list mailing list