V Qc@snddlZddlZdd dYZdefdYZdefdYZdd d YZdS( iNt_CoEventcBs>eZdZdZdZdZdZdZRS(cCs||_tj|_dS(N(tftsyncteventte(tselftfunc((s./usr/lib64/python2.7/Demo/threads/Coroutine.pyt__init__Is cCs%|jdkrdSd|jjSdS(Nsmain coroutinescoroutine for func (RtNonet func_name(R((s./usr/lib64/python2.7/Demo/threads/Coroutine.pyt__repr__MscCs t|S(N(tid(R((s./usr/lib64/python2.7/Demo/threads/Coroutine.pyt__hash__SscCstt|t|S(N(tcmpR (txty((s./usr/lib64/python2.7/Demo/threads/Coroutine.pyt__cmp__VscCs|jjdS(N(Rtpost(R((s./usr/lib64/python2.7/Demo/threads/Coroutine.pytresumeYscCs|jj|jjdS(N(Rtwaittclear(R((s./usr/lib64/python2.7/Demo/threads/Coroutine.pyR\s (t__name__t __module__RR R RRR(((s./usr/lib64/python2.7/Demo/threads/Coroutine.pyRHs      tKilledcBseZRS((RR(((s./usr/lib64/python2.7/Demo/threads/Coroutine.pyR`st EarlyExitcBseZRS((RR(((s./usr/lib64/python2.7/Demo/threads/Coroutine.pyRast CoroutinecBsPeZdZdZdZdZddZddZddZ RS(cCsHtd|_|_id|j6|_d|_d|_d|_dS(Ni(RRtactivetmaint invokedbytkilledtvaluet terminated_by(R((s./usr/lib64/python2.7/Demo/threads/Coroutine.pyRds   cGs7t|}d|j|Es