Message224249
As Antoine wrote, Condition.wait() was rewritten in Python 3.2 to implement timeout using the native OS "acquire a lock with a timeout" function. So the initial concern is already fixed. This change is huge, we are not going to backport new lock timeouts in Python 2.7, it's too risky. It's time to upgrade to Python 3!
There is still a *corner case* when the function is interrupted by a signal, we use the system clock to recompute the new timeout. This corner case is addresses by the issue #22043. |
|
Date |
User |
Action |
Args |
2014-07-29 20:58:03 | vstinner | set | recipients:
+ vstinner, jimjjewett, pitrou, qopit, jtate, xiaowen, BreamoreBoy |
2014-07-29 20:58:03 | vstinner | set | messageid: <1406667483.53.0.799007236981.issue1508864@psf.upfronthosting.co.za> |
2014-07-29 20:58:03 | vstinner | link | issue1508864 messages |
2014-07-29 20:58:03 | vstinner | create | |
|