summaryrefslogtreecommitdiffstats
path: root/Lib/_dummy_thread.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-36688: Adding an implementation of RLock in _dummy_thread (GH-12943)Miss Islington (bot)2019-06-171-1/+31
| | | | | (cherry picked from commit c5905f39bcf4ef895d42eede41bb5a2f071a501d) Co-authored-by: Joost Lek <vlabakje@gmail.com>
* Revert "bpo-36084: Add native thread ID to threading.Thread objects ↵Victor Stinner2019-05-211-4/+0
| | | | | (GH-11993)" (GH-13458) This reverts commit 4959c33d2555b89b494c678d99be81a65ee864b0.
* bpo-36084: Add native thread ID to threading.Thread objects (GH-11993)Jake Tesler2019-05-121-0/+4
|
* Restore dummy_threading and _dummy_thread, but deprecate them (bpo-31370) ↵Antoine Pitrou2017-09-181-0/+163
| | | | (#3648)
* bpo-31370: Remove support for threads-less builds (#3385)Antoine Pitrou2017-09-071-163/+0
| | | | | | * Remove Setup.config * Always define WITH_THREAD for compatibility.
* bpo-6532: Make the thread id an unsigned integer. (#781)Serhiy Storchaka2017-03-231-1/+1
| | | | | | | | | | | * bpo-6532: Make the thread id an unsigned integer. From C API side the type of results of PyThread_start_new_thread() and PyThread_get_thread_ident(), the id parameter of PyThreadState_SetAsyncExc(), and the thread_id field of PyThreadState changed from "long" to "unsigned long". * Restore a check in thread_get_ident().
* Issue 21137: Better repr for threading.Lock()Raymond Hettinger2014-05-261-0/+8
|
* Issue #18808: Thread.join() now waits for the underlying thread state to be ↵Antoine Pitrou2013-09-071-0/+4
| | | | | | destroyed before returning. This prevents unpredictable aborts in Py_EndInterpreter() when some non-daemon threads are still running.
* Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)Brett Cannon2013-07-041-1/+1
|
* Issue #18200: Update the stdlib (except tests) to useBrett Cannon2013-06-141-1/+1
| | | | ModuleNotFoundError.
* Issue #11223: Replace threading._info() by sys.thread_infoVictor Stinner2011-04-301-3/+0
|
* Issue #11223: fix test_dummy_threading, add _dummy_thread.info()Victor Stinner2011-04-191-0/+3
|
* Followup to issue #11140 and r88682: also patch _dummy_thread.Antoine Pitrou2011-03-011-5/+1
| | | | Patch by Aymeric Augustin.
* Fix bootstrap issues when building without threadsAntoine Pitrou2010-11-051-4/+8
|
* Issue #7316: the acquire() method of lock objects in the :mod:`threading`Antoine Pitrou2010-04-141-1/+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 65787 via svnmerge fromBrett Cannon2008-08-171-1/+0
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r65787 | brett.cannon | 2008-08-17 15:10:11 -0700 (Sun, 17 Aug 2008) | 3 lines Remove imports of 'warnings' that are no longer needed in dummy_thread, filecmp, and shelve. ........
* Merged revisions 64903 via svnmerge fromBrett Cannon2008-07-131-6/+3
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r64903 | brett.cannon | 2008-07-12 18:15:07 -0700 (Sat, 12 Jul 2008) | 6 lines dummy_thread.acquire() would return None if no waitflag argument was given. It should have returned True. Fixes issue #3339. Thanks, Henk Punt for the report and Andrii v. Mishkovskiyi for attempting a patch. ........
* Rename thread to _thread and dummy_thread to _dummy_thread. Issue #2875.Georg Brandl2008-05-251-0/+149