dummy_threading
index
/usr/local/lib/python2.5/dummy_threading.py
Module Docs

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``.

 
Modules
       
threading

 
Classes
       
_threading_local._localbase(__builtin__.object)
_threading_local.local
threading._Verbose(__builtin__.object)
threading.Thread

 
class Thread(_Verbose)
    
Method resolution order:
Thread
_Verbose
__builtin__.object

Methods defined here:
__init__(self, group=None, target=None, name=None, args=(), kwargs=None, verbose=None)
__repr__(self)
getName(self)
isAlive(self)
isDaemon(self)
join(self, timeout=None)
run(self)
setDaemon(self, daemonic)
setName(self, name)
start(self)

Data descriptors inherited from _Verbose:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class local(_localbase)
    
Method resolution order:
local
_localbase
__builtin__.object

Methods defined here:
__del__(self)
__delattr__(self, name)
__getattribute__(self, name)
__setattr__(self, name, value)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Static methods inherited from _localbase:
__new__(cls, *args, **kw)

 
Functions
       
BoundedSemaphore(*args, **kwargs)
Condition(*args, **kwargs)
Event(*args, **kwargs)
Lock = allocate_lock()
Dummy implementation of thread.allocate_lock().
RLock(*args, **kwargs)
Semaphore(*args, **kwargs)
Timer(*args, **kwargs)
activeCount()
currentThread()
enumerate()
setprofile(func)
settrace(func)
stack_size(size=None)
Dummy implementation of thread.stack_size().

 
Data
        __all__ = ['activeCount', 'Condition', 'currentThread', 'enumerate', 'Event', 'Lock', 'RLock', 'Semaphore', 'BoundedSemaphore', 'Thread', 'Timer', 'setprofile', 'settrace', 'local', 'stack_size']