]> granicus.if.org Git - python/commit
Issue #7316: the acquire() method of lock objects in the :mod:`threading`
authorAntoine Pitrou <solipsis@pitrou.net>
Wed, 14 Apr 2010 15:44:10 +0000 (15:44 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Wed, 14 Apr 2010 15:44:10 +0000 (15:44 +0000)
commit7c3e5773954009d65520eb063621cf7724da88e3
tree12c9dc646c8a80043616bf4fa54e3dedb84df9ca
parente53de3dc4a9021b5edabd44fd495df7770b6249c
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.
Doc/library/_thread.rst
Doc/library/threading.rst
Include/pythread.h
Lib/_dummy_thread.py
Lib/multiprocessing/pool.py
Lib/test/lock_tests.py
Lib/threading.py
Misc/NEWS
Modules/_threadmodule.c
Python/thread_nt.h
Python/thread_pthread.h