Current Path : /usr/lib/python2.7/ |
Current File : //usr/lib/python2.7/dummy_thread.pyc |
ó ÿ–|_c @ s¥ d Z d d d d d d d g Z d d l Z d e f d „ ƒ YZ i 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"