$46 GRAYBYTE WORDPRESS FILE MANAGER $88

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python38/lib64/python3.8/multiprocessing/__pycache__/

HOME
Current File : /opt/alt/python38/lib64/python3.8/multiprocessing/__pycache__//resource_sharer.cpython-38.pyc
U

i�f��@s�ddlZddlZddlZddlZddlZddlmZddlmZddlm	Z	dgZ
ejdkrxe
dg7Z
Gd	d�de�Z
ne
d
g7Z
Gdd
�d
e�ZGdd
�d
e�Ze�ZejZdS)�N�)�process)�	reduction)�util�stopZwin32�	DupSocketc@s eZdZdZdd�Zdd�ZdS)rzPicklable wrapper for a socket.cs(|����fdd�}t�|�j�|_dS)Ncs��|�}|�|�dS�N)�shareZ
send_bytes)�conn�pidr	�Znew_sock��D/opt/alt/python38/lib64/python3.8/multiprocessing/resource_sharer.py�sends
z DupSocket.__init__.<locals>.send)�dup�_resource_sharer�register�close�_id)�selfZsockrr
rr�__init__szDupSocket.__init__c
Cs6t�|j�� }|��}t�|�W5QR�SQRXdS)z1Get the socket.  This should only be called once.N)r�get_connectionrZ
recv_bytes�socketZ	fromshare)rr
r	r
r
r�detach$szDupSocket.detachN��__name__�
__module__�__qualname__�__doc__rrr
r
r
rrs�DupFdc@s eZdZdZdd�Zdd�ZdS)rz-Wrapper for fd which can be used at any time.cs4t�|���fdd�}�fdd�}t�||�|_dS)Ncst�|�|�dSr)rZsend_handle)r
r�Znew_fdr
rr1szDupFd.__init__.<locals>.sendcst���dSr)�osrr
r r
rr3szDupFd.__init__.<locals>.close)r!rrrr)r�fdrrr
r rr/s
zDupFd.__init__c
Cs.t�|j��}t�|�W5QR�SQRXdS)z-Get the fd.  This should only be called once.N)rrrrZrecv_handle)rr
r
r
rr7szDupFd.detachNrr
r
r
rr-sc@sNeZdZdZdd�Zdd�Zedd��Zdd	d
�Zdd�Z	d
d�Z
dd�ZdS)�_ResourceSharerz.Manager for resources using background thread.cCs@d|_i|_g|_t��|_d|_d|_d|_t	�
|tj�dS)Nr)
�_key�_cache�
_old_locks�	threading�Lock�_lock�	_listener�_address�_threadrZregister_after_forkr#�
_afterfork)rr
r
rr?s
z_ResourceSharer.__init__c
CsZ|j�J|jdkr|��|jd7_||f|j|j<|j|jfW5QR�SQRXdS)z+Register resource, returning an identifier.Nr)r)r+�_startr$r%)rrrr
r
rrIs
z_ResourceSharer.registercCs<ddlm}|\}}||t��jd�}|�|t��f�|S)z<Return connection from which to receive identified resource.r��Client��authkey)�
connectionr0r�current_processr2rr!�getpid)Zidentr0�address�key�cr
r
rrRs
z_ResourceSharer.get_connectionNc	Cs�ddlm}|j��|jdk	r�||jt��jd�}|�d�|��|j	�
|�|j	��rdt�
d�|j��d|_	d|_d|_|j��D]\}\}}|�q�|j��W5QRXdS)z:Stop the background thread and clear registered resources.rr/Nr1z._ResourceSharer thread did not stop when asked)r3r0r)r+rr4r2rrr,�joinZis_aliverZsub_warningr*r%�items�clear)rZtimeoutr0r8r7rrr
r
rr[s$
�



z_ResourceSharer.stopcCsj|j��D]\}\}}|�q
|j��|j�|j�t��|_|jdk	rT|j�	�d|_d|_
d|_dSr)r%r:r;r&�appendr)r'r(r*rr+r,)rr7rrr
r
rr-ps



z_ResourceSharer._afterforkcCsjddlm}|jdkstd��t�d�|t��jd�|_|jj	|_
tj|j
d�}d|_|��||_dS)Nr)�ListenerzAlready have Listenerz0starting listener and thread for sending handlesr1)�targetT)r3r=r*�AssertionErrorr�debugrr4r2r6r+r'ZThread�_serveZdaemon�startr,)rr=�tr
r
rr.~s

z_ResourceSharer._startc	Cs�ttd�rt�tjt���zh|j���T}|��}|dkrHW5QR�Wq�|\}}|j�	|�\}}z|||�W5|�XW5QRXWqt
��s�tj
t���YqXqdS)N�pthread_sigmask)�hasattr�signalrD�	SIG_BLOCK�
valid_signalsr*ZacceptZrecvr%�poprZ
is_exiting�sys�
excepthook�exc_info)rr
�msgr7Zdestination_pidrrr
r
rrA�s
z_ResourceSharer._serve)N)rrrrrr�staticmethodrrr-r.rAr
r
r
rr#=s
	

r#)r!rFrrJr'�r�contextrr�__all__�platform�objectrrr#rrr
r
r
r�<module>s 


`


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
26 Oct 2024 8.34 AM
root / linksafe
0755
__init__.cpython-38.opt-1.pyc
0.661 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
__init__.cpython-38.opt-2.pyc
0.661 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
__init__.cpython-38.pyc
0.661 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
connection.cpython-38.opt-1.pyc
24.427 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
connection.cpython-38.opt-2.pyc
22.475 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
connection.cpython-38.pyc
24.657 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
context.cpython-38.opt-1.pyc
12.728 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
context.cpython-38.opt-2.pyc
11.302 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
context.cpython-38.pyc
12.728 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
forkserver.cpython-38.opt-1.pyc
8.133 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
forkserver.cpython-38.opt-2.pyc
7.364 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
forkserver.cpython-38.pyc
8.178 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
heap.cpython-38.opt-1.pyc
7.447 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
heap.cpython-38.opt-2.pyc
7.271 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
heap.cpython-38.pyc
7.473 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
managers.cpython-38.opt-1.pyc
40.381 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
managers.cpython-38.opt-2.pyc
36.497 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
managers.cpython-38.pyc
40.587 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
pool.cpython-38.opt-1.pyc
24.404 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
pool.cpython-38.opt-2.pyc
22.58 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
pool.cpython-38.pyc
24.453 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
popen_fork.cpython-38.opt-1.pyc
2.523 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
popen_fork.cpython-38.opt-2.pyc
2.523 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
popen_fork.cpython-38.pyc
2.597 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
popen_forkserver.cpython-38.opt-1.pyc
2.375 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
popen_forkserver.cpython-38.opt-2.pyc
2.375 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
popen_forkserver.cpython-38.pyc
2.375 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
popen_spawn_posix.cpython-38.opt-1.pyc
2.171 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
popen_spawn_posix.cpython-38.opt-2.pyc
2.171 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
popen_spawn_posix.cpython-38.pyc
2.171 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
popen_spawn_win32.cpython-38.opt-1.pyc
3.358 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
popen_spawn_win32.cpython-38.opt-2.pyc
3.279 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
popen_spawn_win32.cpython-38.pyc
3.395 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
process.cpython-38.opt-1.pyc
10.123 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
process.cpython-38.opt-2.pyc
8.709 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
process.cpython-38.pyc
10.758 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
queues.cpython-38.opt-1.pyc
9.271 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
queues.cpython-38.opt-2.pyc
9.121 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
queues.cpython-38.pyc
9.345 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
reduction.cpython-38.opt-1.pyc
8.025 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
reduction.cpython-38.opt-2.pyc
7.303 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
reduction.cpython-38.pyc
8.025 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
resource_sharer.cpython-38.opt-1.pyc
5.09 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
resource_sharer.cpython-38.opt-2.pyc
4.68 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
resource_sharer.cpython-38.pyc
5.147 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
resource_tracker.cpython-38.opt-1.pyc
4.993 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
resource_tracker.cpython-38.opt-2.pyc
4.642 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
resource_tracker.cpython-38.pyc
5.078 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
shared_memory.cpython-38.opt-1.pyc
13.845 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
shared_memory.cpython-38.opt-2.pyc
11.175 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
shared_memory.cpython-38.pyc
14.067 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
sharedctypes.cpython-38.opt-1.pyc
6.835 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
sharedctypes.cpython-38.opt-2.pyc
6.577 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
sharedctypes.cpython-38.pyc
6.898 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
spawn.cpython-38.opt-1.pyc
6.496 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
spawn.cpython-38.opt-2.pyc
6.03 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
spawn.cpython-38.pyc
6.554 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
synchronize.cpython-38.opt-1.pyc
10.727 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
synchronize.cpython-38.opt-2.pyc
10.727 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
synchronize.cpython-38.pyc
11.041 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
util.cpython-38.opt-1.pyc
11.181 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
util.cpython-38.opt-2.pyc
10.38 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
util.cpython-38.pyc
11.231 KB
23 Sep 2024 11.26 AM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF