Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Issue #18418: After fork(), reinit all threads states, not only active ones. | Charles-François Natali | 2013-08-30 | 1 | -1/+1 | |
| | | | | | | | | Patch by A. Jesse Jiryu Davis. | |||||
* | | #18705: merge with 3.3. | Ezio Melotti | 2013-08-17 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | #18705: fix a number of typos. Patch by Févry Thibault. | Ezio Melotti | 2013-08-17 | 1 | -1/+1 | |
| | | ||||||
* | | Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a) | Brett Cannon | 2013-07-04 | 1 | -3/+3 | |
| | | ||||||
* | | Issue #18200: Update the stdlib (except tests) to use | Brett Cannon | 2013-06-14 | 1 | -3/+3 | |
| | | | | | | | | ModuleNotFoundError. | |||||
* | | Issue #11714: Use 'with' statements to assure a Semaphore releases a | Serhiy Storchaka | 2013-04-22 | 1 | -20/+18 | |
|\ \ | |/ | | | | | condition variable. Original patch by Thomas Rachel. | |||||
| * | Issue #11714: Use 'with' statements to assure a Semaphore releases a | Serhiy Storchaka | 2013-04-22 | 1 | -20/+18 | |
| | | | | | | | | condition variable. Original patch by Thomas Rachel. | |||||
* | | Merge #17435: Don't use mutable default values in Timer. | R David Murray | 2013-03-30 | 1 | -4/+4 | |
|\ \ | |/ | | | | | Patch by Denver Coneybeare with some test modifications by me. | |||||
| * | Issue #17435: Don't use mutable default values in Timer. | R David Murray | 2013-03-30 | 1 | -4/+4 | |
| | | | | | | | | Patch by Denver Coneybeare with some test modifications by me. | |||||
* | | Fix import | Raymond Hettinger | 2013-03-21 | 1 | -2/+1 | |
| | | ||||||
* | | Improve variable names | Raymond Hettinger | 2013-03-11 | 1 | -5/+5 | |
| | | ||||||
* | | Issue #17385: Fix quadratic behavior in threading.Condition | Raymond Hettinger | 2013-03-11 | 1 | -2/+8 | |
| | | ||||||
* | | Update code to increment and decrement using the cleaner += 1 and -= 1 style. | Raymond Hettinger | 2013-03-10 | 1 | -4/+4 | |
|/ | ||||||
* | Issue #14428, #14397: Implement the PEP 418 | Victor Stinner | 2012-04-29 | 1 | -1/+5 | |
| | | | | | | | | | * Rename time.steady() to time.monotonic() * On Windows, time.monotonic() uses GetTickCount/GetTickCount64() instead of QueryPerformanceCounter() * time.monotonic() uses CLOCK_HIGHRES if available * Add time.get_clock_info(), time.perf_counter() and time.process_time() functions | |||||
* | Issue #14308: Fix an exception when a dummy thread is in the threading ↵ | Antoine Pitrou | 2012-04-19 | 1 | -0/+3 | |
|\ | | | | | | | module's active list after a fork(). | |||||
| * | Issue #14308: Fix an exception when a "dummy" thread is in the threading ↵ | Antoine Pitrou | 2012-04-19 | 1 | -0/+3 | |
| | | | | | | | | module's active list after a fork(). | |||||
* | | Issue #14222: Use the new time.steady() function instead of time.time() for | Victor Stinner | 2012-03-15 | 1 | -1/+1 | |
| | | | | | | | | | | timeout in queue and threading modules to not be affected of system time update. | |||||
* | | Close #13550: Remove the debug machinery from the threading module: remove | Victor Stinner | 2012-03-03 | 1 | -134/+18 | |
| | | | | | | | | verbose arguments from all threading classes and functions. | |||||
* | | merge 3.2 | Benjamin Peterson | 2012-02-04 | 1 | -1/+0 | |
|\ \ | |/ | ||||||
| * | remove unused import | Benjamin Peterson | 2012-02-04 | 1 | -1/+0 | |
| | | ||||||
* | | Issue #13502: threading: Fix a race condition in Event.wait() that made it | Charles-François Natali | 2012-01-07 | 1 | -3/+4 | |
|\ \ | |/ | | | | | return False when the event was set and cleared right after. | |||||
| * | Issue #13502: threading: Fix a race condition in Event.wait() that made it | Charles-François Natali | 2012-01-07 | 1 | -3/+4 | |
| | | | | | | | | return False when the event was set and cleared right after. | |||||
| * | Issue #11870: threading: Properly reinitialize threads internal locks and | Charles-François Natali | 2011-12-18 | 1 | -7/+4 | |
| | | | | | | | | condition variables to avoid deadlocks in child processes. | |||||
* | | Issue #11870: threading: Properly reinitialize threads internal locks and | Charles-François Natali | 2011-12-18 | 1 | -7/+4 | |
| | | | | | | | | condition variables to avoid deadlocks in child processes. | |||||
* | | Merge with 3.2. | Ezio Melotti | 2011-10-19 | 1 | -1/+1 | |
|\ \ | |/ | ||||||
| * | Remove duplication. | Ezio Melotti | 2011-10-19 | 1 | -1/+1 | |
| | | ||||||
* | | add ThreadError to threading.__all__ (closes #12679) | Benjamin Peterson | 2011-08-02 | 1 | -1/+1 | |
| | | ||||||
* | | Remove indirection in threading (issue #10968). | Éric Araujo | 2011-07-27 | 1 | -22/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | The public names (Thread, Condition, etc.) used to be factory functions returning instances of hidden classes (_Thread, _Condition, etc.), because (if Guido recalls correctly) this code pre-dates the ability to subclass extension types. It is now possible to inherit from Thread and other classes, without having to import the private underscored names like multiprocessing did. A doc update will follow: a patch is under discussion on the issue. | |||||
* | | Issue #12573: Add resource checks for dangling Thread and Process objects. | Antoine Pitrou | 2011-07-15 | 1 | -0/+4 | |
|\ \ | |/ | ||||||
| * | Issue #12573: Add resource checks for dangling Thread and Process objects. | Antoine Pitrou | 2011-07-15 | 1 | -0/+4 | |
| | | ||||||
* | | Close #12028: Make threading._get_ident() public, rename it to | Victor Stinner | 2011-05-30 | 1 | -11/+10 | |
| | | | | | | | | | | threading.get_ident() and document it. This function was used by _thread.get_ident(). | |||||
* | | Issue #11223: Replace threading._info() by sys.thread_info | Victor Stinner | 2011-04-30 | 1 | -2/+1 | |
| | | ||||||
* | | Issue #11915: threading.RLock()._release_save() raises a RuntimeError if the | Victor Stinner | 2011-04-24 | 1 | -0/+2 | |
| | | | | | | | | lock was not acquired. | |||||
* | | Issue #11223: Add threading._info() function providing informations about the | Victor Stinner | 2011-04-19 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | thread implementation. Skip test_lock_acquire_interruption() and test_rlock_acquire_interruption() of test_threadsignals if a thread lock is implemented using a POSIX mutex and a POSIX condition variable. A POSIX condition variable cannot be interrupted by a signal (e.g. on Linux, the futex system call is restarted). | |||||
* | | Issue #6064: Add a `daemon` keyword argument to the threading.Thread | Antoine Pitrou | 2011-02-25 | 1 | -14/+7 | |
|/ | | | | | | and multiprocessing.Process constructors in order to override the default behaviour of inheriting the daemonic property from the current thread/process. | |||||
* | Remove out-of-date comment | Raymond Hettinger | 2011-01-16 | 1 | -4/+0 | |
| | ||||||
* | Add entry for Barrier objects. | Raymond Hettinger | 2011-01-11 | 1 | -3/+2 | |
| | ||||||
* | Fix the new bug introduced in the r87710 fix for issue 6643. DummyThread | Gregory P. Smith | 2011-01-04 | 1 | -4/+13 | |
| | | | | | | | deletes its _block attribute, deal with that. This prevents an uncaught exception in a thread during test_thread. This refactors a bit to better match what I did in the r87727 backport to 2.7. | |||||
* | issue6643 - Two locks held within the threading module on each thread instance | Gregory P. Smith | 2011-01-03 | 1 | -0/+4 | |
| | | | | | needed to be reinitialized after fork(). Adds tests to confirm that they are and that a potential deadlock and crasher bug are fixed (platform dependant). | |||||
* | Issue #4188: Avoid creating dummy thread objects when logging operations | Antoine Pitrou | 2010-12-17 | 1 | -2/+8 | |
| | | | | from the threading module (with the internal verbose flag activated). | |||||
* | Issue 10260 | Kristján Valur Jónsson | 2010-11-18 | 1 | -7/+32 | |
| | | | | Adding the wait_for() method to threading.Condition | |||||
* | issue 8777 | Kristján Valur Jónsson | 2010-10-28 | 1 | -0/+172 | |
| | | | | Add threading.Barrier | |||||
* | #10218: return timeout status from Condition.wait, mirroring other ↵ | Georg Brandl | 2010-10-28 | 1 | -0/+2 | |
| | | | | primitives' behavior. | |||||
* | Rip out old testing code that was inlined in threading. | Brett Cannon | 2010-07-23 | 1 | -88/+0 | |
| | | | | Partially closes issue 9346. Thanks Brian Brazil for the patch. | |||||
* | Issue #850728: Add a *timeout* parameter to the `acquire()` method of | Antoine Pitrou | 2010-04-17 | 1 | -2/+12 | |
| | | | | `threading.Semaphore` objects. Original patch by Torsten Landschoff. | |||||
* | Issue #7316: the acquire() method of lock objects in the :mod:`threading` | Antoine Pitrou | 2010-04-14 | 1 | -18/+7 | |
| | | | | | | 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 79817 via svnmerge from | Senthil Kumaran | 2010-04-06 | 1 | -1/+1 | |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79817 | senthil.kumaran | 2010-04-06 08:53:33 +0530 (Tue, 06 Apr 2010) | 2 lines Fix Issue8262 - changing RuntimeError wording to "Threads can only be started once" ........ | |||||
* | Merged revisions 78517 via svnmerge from | Gregory P. Smith | 2010-02-28 | 1 | -1/+6 | |
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78517 | gregory.p.smith | 2010-02-28 10:36:09 -0800 (Sun, 28 Feb 2010) | 3 lines Issue #7481: When a threading.Thread failed to start it would leave the instance stuck in initial state and present in threading.enumerate(). ........ | |||||
* | Issue #3001: Add a C implementation of recursive locks which is used by | Antoine Pitrou | 2009-11-10 | 1 | -2/+12 | |
| | | | | | | default when instantiating a `Threading.RLock` object. This makes recursive locks as fast as regular non-recursive locks (previously, they were slower by 10x to 15x). | |||||
* | Merged revisions 76172 via svnmerge from | Antoine Pitrou | 2009-11-09 | 1 | -8/+10 | |
| | | | | | | | | | | | | 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()`. ........ |