관리-도구
편집 파일: _dummy_thread.cpython-38.opt-2.pyc
U e5d� � @ s� d dddddddgZ dZeZi fd d�Zd d� Zdd� Zdd� Zddd�Zdd� Z G dd� de �ZG dd� de�Zda dadd� Zd S )�error�start_new_thread�exit� get_ident� allocate_lock�interrupt_main�LockType�RLockl c C s� t |�t t� �krtd��t |�t t� �kr4td��daz| ||� W n. tk rZ Y n dd l}|�� Y nX datr�dat �d S )Nz2nd arg must be a tuplez3rd arg must be a dictF� T) �type�tuple� TypeError�dict�_main� SystemExit� traceback� print_exc� _interrupt�KeyboardInterrupt)Zfunction�args�kwargsr � r �%/usr/lib64/python3.8/_dummy_thread.pyr s c C s t �d S �N)r r r r r r = s c C s dS �N� r r r r r r A s c C s t � S r �r r r r r r J s Nc C s | d k rt d��dS )Nz'setting thread stack size not supportedr )r )�sizer r r � stack_sizeN s r c C s t � S r r r r r r � _set_sentinelT s r c @ sB e Zd Zdd� Zddd�ZeZdd� Zd d � Zdd� Zd d� Z dS )r c C s d| _ d S )NF�� locked_status��selfr r r �__init__c s zLockType.__init__N���c C sH |d ks|rd| _ dS | j s&d| _ dS |dkr@dd l}|�|� dS d S )NTr F)r �time�sleep)r"