�`^c@s�dddddddddd d
ddd
dgZddlZddlZddlZddlZddlZddlmZmZddl m
Z
ddlmZmZm
Z
mZddlmZddlmZdejfd��YZdejfd��YZeZejZej�e�_d�Zd�Zdefd��YZeZeZe d�Z!defd��YZ"d �Z#d!�Z$ddd#d"�Z&eZ'dS($tProcesstcurrent_processtactive_childrentfreeze_supporttLocktRLockt SemaphoretBoundedSemaphoret ConditiontEventtQueuetManagertPipetPoolt
JoinableQueuei�N(tTimeoutErrort cpu_count(R(RRRR(R (R
tDummyProcesscBs8eZddddid�Zd�Zed��ZRS(cCsPtjj||||||�d|_tj�|_t|_ t
�|_dS(N(t threadingtThreadt__init__tNonet_pidtweakreftWeakKeyDictionaryt _childrentFalset
_start_calledRt_parent(tselftgroupttargettnametargstkwargs((s4/sys/lib/python2.7/multiprocessing/dummy/__init__.pyR?s
cCsZ|jt�kst�t|_t|jd�rFd|jj|<ntj j
|�dS(NR(RRtAssertionErrortTrueRthasattrRRRRtstart(R((s4/sys/lib/python2.7/multiprocessing/dummy/__init__.pyR&Fs
cCs"|jr|j�rdSdSdS(Ni(Rtis_aliveR(R((s4/sys/lib/python2.7/multiprocessing/dummy/__init__.pytexitcodeMsN((t__name__t
__module__RRR&tpropertyR((((s4/sys/lib/python2.7/multiprocessing/dummy/__init__.pyR=s cBseZejjjZRS((R)R*Rt
_Conditiont
notify_alltim_func(((s4/sys/lib/python2.7/multiprocessing/dummy/__init__.pyRXscCsLt�j}x3t|�D]%}|j�s|j|d�qqWt|�S(N(RRtlistR'tpopR(tchildrentp((s4/sys/lib/python2.7/multiprocessing/dummy/__init__.pyRcs
cCsdS(N((((s4/sys/lib/python2.7/multiprocessing/dummy/__init__.pyRjst NamespacecBseZd�Zd�ZRS(cKs|jj|�dS(N(t__dict__tupdate(Rtkwds((s4/sys/lib/python2.7/multiprocessing/dummy/__init__.pyRrscCss|jj�}g}x=|D]5\}}|jd�s|jd||f�qqW|j�dtjd|�S(Nt_s%s=%rs
Namespace(%s)s, (R4titemst
startswithtappendtsorttstrtjoin(RR8ttempR tvalue((s4/sys/lib/python2.7/multiprocessing/dummy/__init__.pyt__repr__ts
(R)R*RR@(((s4/sys/lib/python2.7/multiprocessing/dummy/__init__.pyR3qs cCstj||�S(N(tarray(ttypecodetsequencetlock((s4/sys/lib/python2.7/multiprocessing/dummy/__init__.pytArray�stValuecBs>eZed�Zd�Zd�Zeee�Zd�ZRS(cCs||_||_dS(N(t _typecodet_value(RRBR?RD((s4/sys/lib/python2.7/multiprocessing/dummy/__init__.pyR�s cCs|jS(N(RH(R((s4/sys/lib/python2.7/multiprocessing/dummy/__init__.pyt_get�scCs
||_dS(N(RH(RR?((s4/sys/lib/python2.7/multiprocessing/dummy/__init__.pyt_set�scCs dt|�j|j|jfS(Ns<%r(%r, %r)>(ttypeR)RGRH(R((s4/sys/lib/python2.7/multiprocessing/dummy/__init__.pyR@�s( R)R*R$RRIRJR+R?R@(((s4/sys/lib/python2.7/multiprocessing/dummy/__init__.pyRF�s
cCstjtS(N(tsystmodulesR)(((s4/sys/lib/python2.7/multiprocessing/dummy/__init__.pyR�scCsdS(N((((s4/sys/lib/python2.7/multiprocessing/dummy/__init__.pytshutdown�scCs ddlm}||||�S(Ni�(t
ThreadPool(tmultiprocessing.poolRO(t processestinitializertinitargsRO((s4/sys/lib/python2.7/multiprocessing/dummy/__init__.pyR
�s(((t__all__RRLRRAt itertoolstmultiprocessingRRt multiprocessing.dummy.connectionRRRRRR R
RRR,RRtcurrent_threadRRRRRtobjectR3tdictR/R$RERFRRNRR
R(((s4/sys/lib/python2.7/multiprocessing/dummy/__init__.pyt<module>$s8"
|