| dummy_thread | index /usr/local/lib/python2.4/dummy_thread.py Module Docs |
Drop-in replacement for the thread module.
Meant to be used as a brain-dead substitute so that threaded code does
not need to be rewritten for when the thread module is not present.
Suggested usage is::
try:
import thread
except ImportError:
import dummy_thread as thread
| Modules | ||||||
| ||||||
| Classes | ||||||||||||||||||
|
| ||||||||||||||||||
| Functions | ||
| ||
| Data | ||
| __all__ = ['error', 'start_new_thread', 'exit', 'get_ident', 'allocate_lock', 'interrupt_main', 'LockType'] __author__ = 'Brett Cannon' __email__ = 'brett@python.org' | ||
| Author | ||
| Brett Cannon | ||