File: //proc/2/root/proc/2/task/2/root/proc/3/root/usr/lib/python2.4/dummy_thread.pyc
mò
‚=5Dc @ s¢ d Z d Z d Z d d d d d d d g Z d
k Z d e f d „ ƒ YZ h d „ Z d
„ Z d „ Z
d „ Z d e f d „ ƒ YZ
e a e a d „ Z d
S( s, 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
s Brett Cannons brett@python.orgt errort start_new_threadt exitt get_identt
allocate_lockt interrupt_maint LockTypeNc B s t Z d Z d „ Z RS( s% Dummy implementation of thread.error.c G s
| | _ d S( N( t argst self( R R ( ( t"