Message304895
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 |
|
Date |
User |
Action |
Args |
2017-10-24 10:30:17 | vstinner | set | recipients:
+ vstinner, pitrou, neologix |
2017-10-24 10:30:17 | vstinner | set | messageid: <1508841017.56.0.213398074469.issue30768@psf.upfronthosting.co.za> |
2017-10-24 10:30:17 | vstinner | link | issue30768 messages |
2017-10-24 10:30:17 | vstinner | create | |
|