| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Most of the import sequence now uses per-module locks rather than the
global import lock, eliminating well-known issues with threads and imports.
|
|\
| |
| |
| | |
return False when the event was set and cleared right after.
|
| |
| |
| |
| | |
return False when the event was set and cleared right after.
|
|\ \
| |/
| |
| | |
to avoid timing-dependent failures.
|
| |
| |
| |
| | |
to avoid timing-dependent failures.
|
| |
| |
| |
| |
| | |
threading.get_ident() and document it. This function was used by
_thread.get_ident().
|
|\ \
| |/
| |
| | |
test_threading.test_waitfor(). Patch written by Charles-François Natali.
|
| |
| |
| |
| | |
written by Charles-François Natali.
|
|/
|
|
| |
lock was not acquired.
|
|\ |
|
| | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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()`.
........
................
|
|
|
|
| |
Windows.
|
|
|
|
| |
Adding the wait_for() method to threading.Condition
|
| |
|
|
|
|
| |
After increasing the default timeout for the barrier, the unittest for the default timeout must be adjusted
|
|
|
|
| |
Increase the default timout of the barries used in the barrier tests. This should solve unexpected timeouts on some machines.
|
|
|
|
| |
Add threading.Barrier
|
|
|
|
| |
primitives' behavior.
|
|
|
|
| |
`threading.Semaphore` objects. Original patch by Torsten Landschoff.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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()`.
........
|
|
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.
........
|