summaryrefslogtreecommitdiffstats
path: root/Lib/test/lock_tests.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #850728: Add a *timeout* parameter to the `acquire()` method ofAntoine Pitrou2010-04-171-0/+13
| | | | `threading.Semaphore` objects. Original patch by Torsten Landschoff.
* Issue #7316: the acquire() method of lock objects in the :mod:`threading`Antoine Pitrou2010-04-141-5/+39
| | | | | | 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.
* Merged revisions 76172 via svnmerge fromAntoine Pitrou2009-11-091-0/+13
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76172 | antoine.pitrou | 2009-11-09 17:00:11 +0100 (lun., 09 nov. 2009) | 5 lines Issue #7282: Fix a memory leak when an RLock was used in a thread other than those started through `threading.Thread` (for example, using `thread.start_new_thread()`. ........
* Merged revisions 76137 via svnmerge fromAntoine Pitrou2009-11-061-0/+533
svn+ssh://pythondev@svn.python.org/python/trunk ........ r76137 | antoine.pitrou | 2009-11-06 23:34:35 +0100 (ven., 06 nov. 2009) | 4 lines Issue #7270: Add some dedicated unit tests for multi-thread synchronization primitives such as Lock, RLock, Condition, Event and Semaphore. ........