Your IP : 18.117.10.207


Current Path : /opt/alt/python35/lib64/python3.5/__pycache__/
Upload File :
Current File : //opt/alt/python35/lib64/python3.5/__pycache__/_dummy_thread.cpython-35.opt-2.pyc



���]��@s�dddddddgZdZeZid	d�Zd
d�Zdd�Zdd�Zd
dd�Zdd�Z	Gdd�de
�Zdada
dd�Zd
S)�error�start_new_thread�exit�	get_ident�
allocate_lock�interrupt_main�LockType��cCs�t|�tt��kr'td��t|�tt��krNtd��day|||�Wn/tk
ryYnddl}|j�YnXdatr�dat	�dS)Nz2nd arg must be a tuplez3rd arg must be a dictF�T)
�type�tuple�	TypeError�dict�_main�
SystemExit�	traceback�	print_exc�
_interrupt�KeyboardInterrupt)�function�args�kwargsr�r�2/opt/alt/python35/lib64/python3.5/_dummy_thread.pyrs 

cCs
t�dS)N)rrrrrr=scCsdS)N����rrrrrrAscCst�S)N)rrrrrrJsNcCs|dk	rtd��dS)Nz'setting thread stack size not supportedr
)r)�sizerrr�
stack_sizeNsrcCst�S)N)rrrrr�
_set_sentinelTsrc@sdeZdZdd�Zdddd�ZeZdd�Zd	d
�Zdd�Zd
d�Z	dS)rcCs
d|_dS)NF)�
locked_status)�selfrrr�__init__cszLockType.__init__NrcCsb|dks|rd|_dS|js5d|_dS|dkrZddl}|j|�dSdS)NTr
F)r�time�sleep)r Zwaitflag�timeoutr"rrr�acquirefs			
zLockType.acquirecCs|j�dS)N)�release)r �typ�val�tbrrr�__exit__�szLockType.__exit__cCs|jst�d|_dS)NFT)rr)r rrrr&�s		zLockType.releasecCs|jS)N)r)r rrr�locked�szLockType.lockedcCs;d|jrdnd|jj|jjtt|��fS)Nz<%s %s.%s object at %s>r+�unlocked)r�	__class__�
__module__�__qualname__�hex�id)r rrr�__repr__�s
		zLockType.__repr__r)
�__name__r.r/r!r%�	__enter__r*r&r+r2rrrrrXs	FTcCstrt�ndadS)NT)rrrrrrrr�s	l)�__all__�TIMEOUT_MAX�RuntimeErrorrrrrrrr�objectrrrrrrrr�<module>s 	@

?>