]> granicus.if.org Git - python/commit
_Condition.wait(): never sleep longer than the timeout time remaining,
authorTim Peters <tim.peters@gmail.com>
Sun, 12 Aug 2001 00:41:33 +0000 (00:41 +0000)
committerTim Peters <tim.peters@gmail.com>
Sun, 12 Aug 2001 00:41:33 +0000 (00:41 +0000)
commita6a4f27ef7c80e6dee626d6649f2019544b24f65
tree7cef1d9b288c2db5df04bbeaf2fff5af8b033ae0
parentce3016a142bffd930f29756bb783c8e5769254e7
_Condition.wait():  never sleep longer than the timeout time remaining,
and even if we have a long time left to wait, try the lock at least 20
times/second.
Lib/threading.py