Module dummy_threading
Faux ``threading`` version using ``dummy_thread`` instead of
``thread``.
The module ``_dummy_threading`` is added to ``sys.modules`` in order
to not have ``threading`` considered imported. Had ``threading`` been
directly imported it would have made all subsequent imports succeed
regardless of whether ``thread`` was available which is not desired.
:Author: Brett Cannon :Contact: brett@python.org
XXX: Try to get rid of ``_dummy_threading``.
|
BoundedSemaphore(*args,
**kwargs) |
|
|
|
Condition(*args,
**kwargs) |
|
|
|
|
|
Lock()
Dummy implementation of thread.allocate_lock(). |
|
|
|
|
|
Semaphore(*args,
**kwargs) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
stack_size(size=None)
Dummy implementation of thread.stack_size(). |
|
|
Imports:
threading,
__all__