summaryrefslogtreecommitdiffstats
path: root/Lib/test/lock_tests.py
Commit message (Collapse)AuthorAgeFilesLines
* [2.7] bpo-30727: Fix a race condition in test_threading. (GH-2334). (#2353)Serhiy Storchaka2017-06-231-5/+14
| | | | (cherry picked from commit 32cb968a2edd482891c33b6f2ebae10f1d305424)
* bpo-8799: Reduce timing sensitivity of condition test by explicitly (#2320)Victor Stinner2017-06-221-0/+15
| | | | | delaying the main thread so that it doesn't race ahead of the workers. (cherry picked from commit 020af2a2bc4708215360a3793b5a1790e15d05dd)
* reinitialize an Event's Condition with a regular lock (closes #25319)Benjamin Peterson2015-10-061-0/+8
|
* Make some tests more frienly to MemoryError.Serhiy Storchaka2015-03-281-2/+6
| | | | Free memory, unlock hanging threads.
* Issue #7282: Fix a memory leak when an RLock was used in a thread otherAntoine Pitrou2009-11-091-0/+13
| | | | | than those started through `threading.Thread` (for example, using `thread.start_new_thread()`.
* Issue #7270: Add some dedicated unit tests for multi-thread synchronizationAntoine Pitrou2009-11-061-0/+533
primitives such as Lock, RLock, Condition, Event and Semaphore.