�`^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
cCsBt|_t|jd�r.d|jj|<ntjj|�dS(NR( tTrueRthasattrRRRRRtstart(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, (R3titemst
startswithtappendtsorttstrtjoin(RR7ttempR tvalue((s4/sys/lib/python2.7/multiprocessing/dummy/__init__.pyt__repr__ts
(R(R)RR?(((s4/sys/lib/python2.7/multiprocessing/dummy/__init__.pyR2qs 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(RRAR>RC((s4/sys/lib/python2.7/multiprocessing/dummy/__init__.pyR�s cCs|jS(N(RG(R((s4/sys/lib/python2.7/multiprocessing/dummy/__init__.pyt_get�scCs
||_dS(N(RG(RR>((s4/sys/lib/python2.7/multiprocessing/dummy/__init__.pyt_set�scCs dt|�j|j|jfS(Ns<%r(%r, %r)>(ttypeR(RFRG(R((s4/sys/lib/python2.7/multiprocessing/dummy/__init__.pyR?�s( R(R)R#RRHRIR*R>R?(((s4/sys/lib/python2.7/multiprocessing/dummy/__init__.pyRE�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.poolRN(t processestinitializertinitargsRN((s4/sys/lib/python2.7/multiprocessing/dummy/__init__.pyR
�s(((t__all__RRKRR@t itertoolstmultiprocessingRRt multiprocessing.dummy.connectionRRRRRR R
RRR+RRtcurrent_threadRRRRRtobjectR2tdictR.R#RDRERRMRR
R(((s4/sys/lib/python2.7/multiprocessing/dummy/__init__.pyt<module>$s8"
|