[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.141.25.185: ~ $
U

��,a�!�@s�ddlZddlZddlZddlZddlZddlmZddlmZdddgZe	ed�Z
ejejfZ
d	d
d�iZejdkr�ddlZddlZe�ejejd
��Gdd�de�Ze�ZejZejZejZejZdd�ZdS)�N�)�spawn)�util�ensure_running�register�
unregister�pthread_sigmaskZnoopcCsdS�N�r
r
r
�E/opt/alt/python38/lib64/python3.8/multiprocessing/resource_tracker.py�<lambda>!�r�posix)Z	semaphoreZ
shared_memoryc@sLeZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
d�Z	dd�Z
dS)�ResourceTrackercCst��|_d|_d|_dSr	)�	threadingZLock�_lock�_fd�_pid��selfr
r
r�__init__0s
zResourceTracker.__init__c	CsT|j�D|jdkr W5QR�dSt�|j�d|_t�|jd�d|_W5QRXdS)Nr)rr�os�close�waitpidrrr
r
r�_stop5s
zResourceTracker._stopcCs|��|jSr	)rrrr
r
r�getfdBszResourceTracker.getfdcCst|j��b|jdk	r~|��r*W5QR�dSt�|j�z|jdk	rPt�|jd�Wntk
rfYnXd|_d|_t�	d�g}z|�
tj�
��Wntk
r�YnXd}t��\}}z�zr|�
|�t��}|gt��}|d||g7}z&t�rt�tjt�t�|||�}W5t�r,t�tjt�XWnt�|��YnX||_||_W5t�|�XW5QRXdS)z�Make sure that resource tracker process is running.

        This can be run from any process.  Usually a child process will use
        the resource created by its parent.NrzUresource_tracker: process died unexpectedly, relaunching.  Some resources might leak.z:from multiprocessing.resource_tracker import main;main(%d)z-c)rr�_check_aliverrrr�ChildProcessError�warnings�warn�append�sys�stderr�fileno�	Exception�piperZget_executablerZ_args_from_interpreter_flags�
_HAVE_SIGMASK�signalr�SIG_UNBLOCK�_IGNORED_SIGNALS�	SIG_BLOCKZspawnv_passfds)rZfds_to_pass�cmd�r�wZexe�args�pidr
r
rrFsJ






zResourceTracker.ensure_runningcCs2zt�|jd�Wntk
r(YdSXdSdS)z;Check that the pipe has not been closed by sending a probe.s
PROBE:0:noop
FTN)r�writer�OSErrorrr
r
rr�s
zResourceTracker._check_alivecCs|�d||�dS)z0Register name of resource with resource tracker.�REGISTERN��_send�r�name�rtyper
r
rr�szResourceTracker.registercCs|�d||�dS)z2Unregister name of resource with resource tracker.�
UNREGISTERNr3r5r
r
rr�szResourceTracker.unregistercCsB|��d�|||��d�}t|�dkr0td��t�|j|�}dS)Nz{0}:{1}:{2}
�asciiiz
name too long)r�format�encode�len�
ValueErrorrr0r)rr+r6r7�msg�nbytesr
r
rr4�szResourceTracker._sendN)�__name__�
__module__�__qualname__rrrrrrrr4r
r
r
rr.s
@rc
Cst�tjtj�t�tjtj�tr2t�tjt�tj	tj
fD]&}z|��Wq>tk
rbYq>Xq>dd�t
��D�}z�t|d���}|D]�}z�|���d��d�\}}}t
�|d�}	|	dkr�td	|�d
|����|dkr�||�|�n2|dk�r||�|�n|d
k�rntd|��Wq�tk
�rTztjt���WnYnXYq�Xq�W5QRXW5|��D]�\}}|�r�zt�dt|�|f�Wntk
�r�YnX|D]V}zLzt
||�Wn6tk
�r�}zt�d||f�W5d}~XYnXW5X�q��qnXdS)zRun resource tracker.cSsi|]}|t��qSr
)�set)�.0r7r
r
r�
<dictcomp>�szmain.<locals>.<dictcomp>zQresource_tracker: There appear to be %d leaked %s objects to clean up at shutdownzresource_tracker: %r: %sN�rbr9�:zCannot register z. for automatic cleanup: unknown resource type r2r8ZPROBEzunrecognized command %r)r'�SIGINT�SIG_IGN�SIGTERMr&rr(r)r!�stdin�stdoutrr$�_CLEANUP_FUNCS�keys�itemsrrr<�open�strip�decode�split�getr=�add�remove�RuntimeError�
excepthook�exc_info)
�fd�f�cacher7Zrtype_cacher6�e�liner+Zcleanup_funcr
r
r�main�s^�


�
(r_)rr'r!rr�rr�__all__�hasattrr&rHrJr)rMr6Z_multiprocessingZ_posixshmem�updateZ
sem_unlinkZ
shm_unlink�objectrZ_resource_trackerrrrrr_r
r
r
r�<module>s4

�
�w

Filemanager

Name Type Size Permission Actions
__init__.cpython-38.opt-1.pyc File 677 B 0644
__init__.cpython-38.opt-2.pyc File 677 B 0644
__init__.cpython-38.pyc File 677 B 0644
connection.cpython-38.opt-1.pyc File 24.43 KB 0644
connection.cpython-38.opt-2.pyc File 22.47 KB 0644
connection.cpython-38.pyc File 24.66 KB 0644
context.cpython-38.opt-1.pyc File 12.73 KB 0644
context.cpython-38.opt-2.pyc File 11.3 KB 0644
context.cpython-38.pyc File 12.73 KB 0644
forkserver.cpython-38.opt-1.pyc File 8.13 KB 0644
forkserver.cpython-38.opt-2.pyc File 7.36 KB 0644
forkserver.cpython-38.pyc File 8.18 KB 0644
heap.cpython-38.opt-1.pyc File 7.45 KB 0644
heap.cpython-38.opt-2.pyc File 7.27 KB 0644
heap.cpython-38.pyc File 7.47 KB 0644
managers.cpython-38.opt-1.pyc File 40.38 KB 0644
managers.cpython-38.opt-2.pyc File 36.5 KB 0644
managers.cpython-38.pyc File 40.59 KB 0644
pool.cpython-38.opt-1.pyc File 24.4 KB 0644
pool.cpython-38.opt-2.pyc File 22.58 KB 0644
pool.cpython-38.pyc File 24.45 KB 0644
popen_fork.cpython-38.opt-1.pyc File 2.52 KB 0644
popen_fork.cpython-38.opt-2.pyc File 2.52 KB 0644
popen_fork.cpython-38.pyc File 2.6 KB 0644
popen_forkserver.cpython-38.opt-1.pyc File 2.38 KB 0644
popen_forkserver.cpython-38.opt-2.pyc File 2.38 KB 0644
popen_forkserver.cpython-38.pyc File 2.38 KB 0644
popen_spawn_posix.cpython-38.opt-1.pyc File 2.17 KB 0644
popen_spawn_posix.cpython-38.opt-2.pyc File 2.17 KB 0644
popen_spawn_posix.cpython-38.pyc File 2.17 KB 0644
popen_spawn_win32.cpython-38.opt-1.pyc File 3.36 KB 0644
popen_spawn_win32.cpython-38.opt-2.pyc File 3.28 KB 0644
popen_spawn_win32.cpython-38.pyc File 3.39 KB 0644
process.cpython-38.opt-1.pyc File 10.12 KB 0644
process.cpython-38.opt-2.pyc File 8.71 KB 0644
process.cpython-38.pyc File 10.76 KB 0644
queues.cpython-38.opt-1.pyc File 9.27 KB 0644
queues.cpython-38.opt-2.pyc File 9.12 KB 0644
queues.cpython-38.pyc File 9.34 KB 0644
reduction.cpython-38.opt-1.pyc File 8.03 KB 0644
reduction.cpython-38.opt-2.pyc File 7.3 KB 0644
reduction.cpython-38.pyc File 8.03 KB 0644
resource_sharer.cpython-38.opt-1.pyc File 5.09 KB 0644
resource_sharer.cpython-38.opt-2.pyc File 4.68 KB 0644
resource_sharer.cpython-38.pyc File 5.15 KB 0644
resource_tracker.cpython-38.opt-1.pyc File 4.99 KB 0644
resource_tracker.cpython-38.opt-2.pyc File 4.64 KB 0644
resource_tracker.cpython-38.pyc File 5.08 KB 0644
shared_memory.cpython-38.opt-1.pyc File 13.84 KB 0644
shared_memory.cpython-38.opt-2.pyc File 11.17 KB 0644
shared_memory.cpython-38.pyc File 14.07 KB 0644
sharedctypes.cpython-38.opt-1.pyc File 6.83 KB 0644
sharedctypes.cpython-38.opt-2.pyc File 6.58 KB 0644
sharedctypes.cpython-38.pyc File 6.9 KB 0644
spawn.cpython-38.opt-1.pyc File 6.5 KB 0644
spawn.cpython-38.opt-2.pyc File 6.03 KB 0644
spawn.cpython-38.pyc File 6.55 KB 0644
synchronize.cpython-38.opt-1.pyc File 10.73 KB 0644
synchronize.cpython-38.opt-2.pyc File 10.73 KB 0644
synchronize.cpython-38.pyc File 11.04 KB 0644
util.cpython-38.opt-1.pyc File 11.18 KB 0644
util.cpython-38.opt-2.pyc File 10.38 KB 0644
util.cpython-38.pyc File 11.23 KB 0644