Mercurial > cpython-lru_cache-weakref
diff Python/thread_lwp.h @ 60598:01d1fd775d16
Issue #7316: the acquire() method of lock objects in the :mod:`threading`
module now takes an optional timeout argument in seconds. Timeout support
relies on the system threading library, so as to avoid a semi-busy wait
loop.
| author | Antoine Pitrou <solipsis@pitrou.net> |
|---|---|
| date | Wed, 14 Apr 2010 15:44:10 +0000 |
| parents | 798e0d0c7246 |
| children | fd25030223b0 |
