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.

作者 pitrou
收信人 gregory.p.smith, hobb0001, jyasskin, pitrou, rnk
日期 2010-07-12.16:08:42
SpamBayes Score 0.2490789
Marked as misclassified
Message-id <1278950924.27.0.0231463989044.issue8844@psf.upfronthosting.co.za>
In-reply-to
内容
Actually, there is a problem in Lock.acquire and RLock.acquire. If a signal occurs and signal handling returns successfully, acquiring the lock will be retried without decrementing the timeout first. Therefore, we may end up waiting longer than the user wanted.

I'm not sure how to tackle that: either we accept that an incoming signal will make the wait longer, or we fix it by properly decrementing the timeout (which will complicate things a bit, especially for cross-platform time querying - but see issue9079 which might help us).
历史
日期 用户 动作 参数
2010-07-12 16:08:44pitrou修改recipients: + pitrou, gregory.p.smith, jyasskin, rnk, hobb0001
2010-07-12 16:08:44pitrou修改messageid: <1278950924.27.0.0231463989044.issue8844@psf.upfronthosting.co.za>
2010-07-12 16:08:42pitrou链接issue8844 messages
2010-07-12 16:08:42pitrou创建