ACC SHELL
Path : /usr/lib/python/ |
|
Current File : //usr/lib/python/dummy_thread.pyo |
Ńň
nÄMc @ sĽ d Z d d d d d d d g Z d d k Z d e f d
YZ h d Z d Z d
Z d Z d 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
t errort start_new_threadt exitt get_identt
allocate_lockt interrupt_maint LockTypei˙˙˙˙Nc B s e Z d Z d Z RS( s% Dummy implementation of thread.error.c G s
| | _ d S( N( t args( t selfR ( ( s"