summaryrefslogtreecommitdiffstats
path: root/Lib/test/lock_tests.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #11871: In test_threading.BarrierTests, bump the default barrier timeoutCharles-François Natali2011-07-271-3/+3
|\ | | | | | | to avoid timing-dependent failures.
| * Issue #11871: In test_threading.BarrierTests, bump the default barrier timeoutCharles-François Natali2011-07-271-3/+3
| | | | | | | | to avoid timing-dependent failures.
* | Close #12028: Make threading._get_ident() public, rename it toVictor Stinner2011-05-301-2/+2
| | | | | | | | | | threading.get_ident() and document it. This function was used by _thread.get_ident().
* | (Merge 3.2) Issue #12096: Fix a race condition inVictor Stinner2011-05-171-1/+1
|\ \ | |/ | | | | test_threading.test_waitfor(). Patch written by Charles-François Natali.
| * Issue #12096: Fix a race condition in test_threading.test_waitfor(). PatchVictor Stinner2011-05-171-1/+1
| | | | | | | | written by Charles-François Natali.
* | Issue #11915: threading.RLock()._release_save() raises a RuntimeError if theVictor Stinner2011-04-241-0/+2
|/ | | | lock was not acquired.
* Try to fix sporadic failure in test_thread/test_threadingAntoine Pitrou2011-04-041-1/+7
|\
| * Try to fix sporadic failure in test_thread/test_threadingAntoine Pitrou2011-04-041-1/+7
| |
| * Merged revisions 76138,76173 via svnmerge fromAntoine Pitrou2009-11-091-0/+546
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r76138 | antoine.pitrou | 2009-11-06 23:41:14 +0100 (ven., 06 nov. 2009) | 10 lines Merged revisions 76137 via svnmerge from 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. ........ ................ r76173 | antoine.pitrou | 2009-11-09 17:08:16 +0100 (lun., 09 nov. 2009) | 11 lines Merged revisions 76172 via svnmerge from 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()`. ........ ................
* Issue #11618: Fix the timeout logic in threading.Lock.acquire() underAntoine Pitrou2011-03-301-0/+10
| | | | Windows.
* 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. ........