commit | 7c3e5773954009d65520eb063621cf7724da88e3 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Wed Apr 14 15:44:10 2010 +0000 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Wed Apr 14 15:44:10 2010 +0000 |
tree | 12c9dc646c8a80043616bf4fa54e3dedb84df9ca | |
parent | e53de3dc4a9021b5edabd44fd495df7770b6249c [diff] |
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.