This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients neologix, pitrou, vstinner
Date 2017-10-24.10:30:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1508841017.56.0.213398074469.issue30768@psf.upfronthosting.co.za>
In-reply-to
Content
I wrote PR 4103 to fix the pthread+semaphore implementation of PyThread_acquire_lock_timed().

Apply PR 4103, apply attached test.patch, recompile Python, and run interrupted_lock.py to test the PR. Result:

haypo@selma$ ./python interrupted_lock.py 
acquire(timeout=1.0) took 1.0 seconds and got 911 signals
History
Date User Action Args
2017-10-24 10:30:17vstinnersetrecipients: + vstinner, pitrou, neologix
2017-10-24 10:30:17vstinnersetmessageid: <1508841017.56.0.213398074469.issue30768@psf.upfronthosting.co.za>
2017-10-24 10:30:17vstinnerlinkissue30768 messages
2017-10-24 10:30:17vstinnercreate