Your IP : 18.222.98.91


Current Path : /opt/alt/python27/lib64/python2.7/multiprocessing/dummy/
Upload File :
Current File : //opt/alt/python27/lib64/python2.7/multiprocessing/dummy/__init__.pyc

�
^
bc@s�dddddddddd	d
ddd
dgZddlZddlZddlZddlZddlZddlmZmZddl	m
Z
ddlmZmZm
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(tTimeoutErrort	cpu_count(R(RRRR(R	(R
tDummyProcesscBs8eZddddid�Zd�Zed��ZRS(cCsPtjj||||||�d|_tj�|_t|_	t
�|_dS(N(t	threadingtThreadt__init__tNonet_pidtweakreftWeakKeyDictionaryt	_childrentFalset
_start_calledRt_parent(tselftgroupttargettnametargstkwargs((sC/opt/alt/python27/lib64/python2.7/multiprocessing/dummy/__init__.pyR?s
		cCsZ|jt�kst�t|_t|jd�rFd|jj|<ntj	j
|�dS(NR(RRtAssertionErrortTrueRthasattrRRRRtstart(R((sC/opt/alt/python27/lib64/python2.7/multiprocessing/dummy/__init__.pyR&Fs
	cCs"|jr|j�rdSdSdS(Ni(Rtis_aliveR(R((sC/opt/alt/python27/lib64/python2.7/multiprocessing/dummy/__init__.pytexitcodeMsN((t__name__t
__module__RRR&tpropertyR((((sC/opt/alt/python27/lib64/python2.7/multiprocessing/dummy/__init__.pyR=s	cBseZejjjZRS((R)R*Rt
_Conditiont
notify_alltim_func(((sC/opt/alt/python27/lib64/python2.7/multiprocessing/dummy/__init__.pyRXscCsLt�j}x3t|�D]%}|j�s|j|d�qqWt|�S(N(RRtlistR'tpopR(tchildrentp((sC/opt/alt/python27/lib64/python2.7/multiprocessing/dummy/__init__.pyRcs
cCsdS(N((((sC/opt/alt/python27/lib64/python2.7/multiprocessing/dummy/__init__.pyRjst	NamespacecBseZd�Zd�ZRS(cKs|jj|�dS(N(t__dict__tupdate(Rtkwds((sC/opt/alt/python27/lib64/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((sC/opt/alt/python27/lib64/python2.7/multiprocessing/dummy/__init__.pyt__repr__ts
(R)R*RR@(((sC/opt/alt/python27/lib64/python2.7/multiprocessing/dummy/__init__.pyR3qs	cCstj||�S(N(tarray(ttypecodetsequencetlock((sC/opt/alt/python27/lib64/python2.7/multiprocessing/dummy/__init__.pytArray�stValuecBs>eZed�Zd�Zd�Zeee�Zd�ZRS(cCs||_||_dS(N(t	_typecodet_value(RRBR?RD((sC/opt/alt/python27/lib64/python2.7/multiprocessing/dummy/__init__.pyR�s	cCs|jS(N(RH(R((sC/opt/alt/python27/lib64/python2.7/multiprocessing/dummy/__init__.pyt_get�scCs
||_dS(N(RH(RR?((sC/opt/alt/python27/lib64/python2.7/multiprocessing/dummy/__init__.pyt_set�scCs dt|�j|j|jfS(Ns<%s(%r, %r)>(ttypeR)RGRH(R((sC/opt/alt/python27/lib64/python2.7/multiprocessing/dummy/__init__.pyR@�s(	R)R*R$RRIRJR+R?R@(((sC/opt/alt/python27/lib64/python2.7/multiprocessing/dummy/__init__.pyRF�s
		cCstjtS(N(tsystmodulesR)(((sC/opt/alt/python27/lib64/python2.7/multiprocessing/dummy/__init__.pyR�scCsdS(N((((sC/opt/alt/python27/lib64/python2.7/multiprocessing/dummy/__init__.pytshutdown�scCs ddlm}||||�S(Ni����(t
ThreadPool(tmultiprocessing.poolRO(t	processestinitializertinitargsRO((sC/opt/alt/python27/lib64/python2.7/multiprocessing/dummy/__init__.pyR
�s(((t__all__RRLRRAt	itertoolstmultiprocessingRRt multiprocessing.dummy.connectionRRRRRR	R
RRR,RRtcurrent_threadRRRRRtobjectR3tdictR/R$RERFRRNRR
R(((sC/opt/alt/python27/lib64/python2.7/multiprocessing/dummy/__init__.pyt<module>$s8"					

?>