summaryrefslogtreecommitdiffstats
path: root/Lib/test/lock_tests.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue 10260Kristján Valur Jónsson2010-11-181-0/+40
| | | | Adding the wait_for() method to threading.Condition
* Use laxer timeouts in barrier testsAntoine Pitrou2010-11-171-5/+5
|
* issue 10237Kristján Valur Jónsson2010-10-311-4/+7
| | | | After increasing the default timeout for the barrier, the unittest for the default timeout must be adjusted
* issue 10237Kristján Valur Jónsson2010-10-301-1/+1
| | | | Increase the default timout of the barries used in the barrier tests. This should solve unexpected timeouts on some machines.
* issue 8777Kristján Valur Jónsson2010-10-281-0/+190
| | | | Add threading.Barrier
* #10218: return timeout status from Condition.wait, mirroring other ↵Georg Brandl2010-10-281-13/+19
| | | | primitives' behavior.
* 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. ........