$37 GRAYBYTE WORDPRESS FILE MANAGER $96

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.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python37/lib64/python3.7/multiprocessing/__pycache__/

HOME
Current File : /opt/alt/python37/lib64/python3.7/multiprocessing/__pycache__//resource_sharer.cpython-37.pyc
B

� 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)�new_sock��D/opt/alt/python37/lib64/python3.7/multiprocessing/resource_sharer.py�sends
z DupSocket.__init__.<locals>.send)�dup�_resource_sharer�register�close�_id)�selfZsockrr)rr
�__init__szDupSocket.__init__c	Cs*t�|j��}|��}t�|�SQRXdS)z1Get the socket.  This should only be called once.N)r�get_connectionrZ
recv_bytes�socketZ	fromshare)rr	rrrr
�detach$szDupSocket.detachN)�__name__�
__module__�__qualname__�__doc__rrrrrr
rs�DupFdc@s eZdZdZdd�Zdd�ZdS)rz-Wrapper for fd which can be used at any time.cs4t�|���fdd�}�fdd�}t�||�|_dS)Ncst�|�|�dS)N)rZsend_handle)r	r
)�new_fdrr
r1szDupFd.__init__.<locals>.sendcst���dS)N)�osrr)rrr
r3szDupFd.__init__.<locals>.close)rrrrr)r�fdrrr)rr
r/s
zDupFd.__init__c	Cs"t�|j��}t�|�SQRXdS)z-Get the fd.  This should only be called once.N)rrrrZrecv_handle)rr	rrr
r7szDupFd.detachN)rrrrrrrrrr
r-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r
r?s
z_ResourceSharer.__init__c	CsN|j�>|jdkr|��|jd7_||f|j|j<|j|jfSQRXdS)z+Register resource, returning an identifier.Nr)r'r)�_startr"r#)rrrrrr
rIs
z_ResourceSharer.registercCs<ddlm}|\}}||t��jd�}|�|t��f�|S)z<Return connection from which to receive identified resource.r)�Client)�authkey)�
connectionr-r�current_processr.rr�getpid)Zidentr-�address�key�crrr
rRs
z_ResourceSharer.get_connectionNc	Cs�ddlm}|j��|jdk	r�||jt��jd�}|�d�|��|j	�
|�|j	��rdt�
d�|j��d|_	d|_d|_x |j��D]\}\}}|�q�W|j��WdQRXdS)z:Stop the background thread and clear registered resources.r)r-N)r.z._ResourceSharer thread did not stop when asked)r/r-r'r)rr0r.rrr*�joinZis_aliverZsub_warningr(r#�items�clear)rZtimeoutr-r4r3rrrrr
r[s"





z_ResourceSharer.stopcCsnx |j��D]\}\}}|�qW|j��|j�|j�t��|_|jdk	rX|j�	�d|_d|_
d|_dS)N)r#r6r7r$�appendr'r%r&r(rr)r*)rr3rrrrr
r+ps




z_ResourceSharer._afterforkcCsjddlm}|jdkstd��t�d�|t��jd�|_|jj	|_
tj|j
d�}d|_|��||_dS)Nr)�ListenerzAlready have Listenerz0starting listener and thread for sending handles)r.)�targetT)r/r9r(�AssertionErrorr�debugrr0r.r2r)r%ZThread�_serveZdaemon�startr*)rr9�trrr
r,~s

z_ResourceSharer._startc	Cs�ttd�r t�tjtdtj��x�y\|j���H}|��}|dkrBP|\}}|j	�
|�\}}z|||�Wd|�XWdQRXWq"t��s�t
jt
���Yq"Xq"WdS)N�pthread_sigmaskr)�hasattr�signalr@�	SIG_BLOCK�range�NSIGr(ZacceptZrecvr#�poprZ
is_exiting�sys�
excepthook�exc_info)rr	�msgr3Zdestination_pidrrrrr
r=�s 
z_ResourceSharer._serve)N)rrrrrr�staticmethodrrr+r,r=rrrr
r!=s
		
r!)rrBrrGr%�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
..
--
24 May 2024 8.34 AM
root / linksafe
0755
__init__.cpython-37.opt-1.pyc
0.512 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
__init__.cpython-37.opt-2.pyc
0.512 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
__init__.cpython-37.pyc
0.512 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
connection.cpython-37.opt-1.pyc
24.171 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
connection.cpython-37.opt-2.pyc
21.992 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
connection.cpython-37.pyc
24.403 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
context.cpython-37.opt-1.pyc
12.803 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
context.cpython-37.opt-2.pyc
11.343 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
context.cpython-37.pyc
12.803 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
forkserver.cpython-37.opt-1.pyc
7.967 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
forkserver.cpython-37.opt-2.pyc
7.196 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
forkserver.cpython-37.pyc
8.012 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
heap.cpython-37.opt-1.pyc
6.271 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
heap.cpython-37.opt-2.pyc
6.271 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
heap.cpython-37.pyc
6.271 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
managers.cpython-37.opt-1.pyc
33.349 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
managers.cpython-37.opt-2.pyc
30.966 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
managers.cpython-37.pyc
33.555 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
pool.cpython-37.opt-1.pyc
20.687 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
pool.cpython-37.opt-2.pyc
19.101 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
pool.cpython-37.pyc
20.735 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
popen_fork.cpython-37.opt-1.pyc
2.389 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
popen_fork.cpython-37.opt-2.pyc
2.389 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
popen_fork.cpython-37.pyc
2.464 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
popen_forkserver.cpython-37.opt-1.pyc
2.301 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
popen_forkserver.cpython-37.opt-2.pyc
2.301 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
popen_forkserver.cpython-37.pyc
2.301 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
popen_spawn_posix.cpython-37.opt-1.pyc
2.088 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
popen_spawn_posix.cpython-37.opt-2.pyc
2.088 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
popen_spawn_posix.cpython-37.pyc
2.088 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
popen_spawn_win32.cpython-37.opt-1.pyc
3.313 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
popen_spawn_win32.cpython-37.opt-2.pyc
3.233 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
popen_spawn_win32.cpython-37.pyc
3.349 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
process.cpython-37.opt-1.pyc
8.573 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
process.cpython-37.opt-2.pyc
7.272 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
process.cpython-37.pyc
9.202 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
queues.cpython-37.opt-1.pyc
9.017 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
queues.cpython-37.opt-2.pyc
8.866 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
queues.cpython-37.pyc
9.213 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
reduction.cpython-37.opt-1.pyc
7.827 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
reduction.cpython-37.opt-2.pyc
7.024 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
reduction.cpython-37.pyc
7.827 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
resource_sharer.cpython-37.opt-1.pyc
5.021 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
resource_sharer.cpython-37.opt-2.pyc
4.603 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
resource_sharer.cpython-37.pyc
5.079 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
semaphore_tracker.cpython-37.opt-1.pyc
3.568 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
semaphore_tracker.cpython-37.opt-2.pyc
3.27 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
semaphore_tracker.cpython-37.pyc
3.649 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
sharedctypes.cpython-37.opt-1.pyc
6.688 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
sharedctypes.cpython-37.opt-2.pyc
6.455 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
sharedctypes.cpython-37.pyc
6.752 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
spawn.cpython-37.opt-1.pyc
6.256 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
spawn.cpython-37.opt-2.pyc
5.788 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
spawn.cpython-37.pyc
6.313 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
synchronize.cpython-37.opt-1.pyc
10.612 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
synchronize.cpython-37.opt-2.pyc
10.612 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
synchronize.cpython-37.pyc
10.918 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
util.cpython-37.opt-1.pyc
10.711 KB
17 Apr 2024 5.36 PM
root / linksafe
0644
util.cpython-37.opt-2.pyc
9.95 KB
17 Apr 2024 5.35 PM
root / linksafe
0644
util.cpython-37.pyc
10.762 KB
17 Apr 2024 5.36 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF