$17 GRAYBYTE WORDPRESS FILE MANAGER $66

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

/opt/alt/python36/lib64/python3.6/multiprocessing/__pycache__/

HOME
Current File : /opt/alt/python36/lib64/python3.6/multiprocessing/__pycache__//resource_sharer.cpython-36.pyc
3

� 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(|j���fdd�}tj|�j�|_dS)Ncs�j|�}|j|�dS)N)�shareZ
send_bytes)�conn�pidr)�new_sock��D/opt/alt/python36/lib64/python3.6/multiprocessing/resource_sharer.py�sends
z DupSocket.__init__.<locals>.send)�dup�_resource_sharer�register�close�_id)�selfZsockrr)rr
�__init__szDupSocket.__init__c	Cs*tj|j��}|j�}tj|�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.cs4tj|���fdd�}�fdd�}tj||�|_dS)Ncstj|�|�dS)N)rZsend_handle)r	r
)�new_fdrr
r1szDupFd.__init__.<locals>.sendcstj��dS)N)�osrr)rrr
r3szDupFd.__init__.<locals>.close)rrrrr)r�fdrrr)rr
r/s
zDupFd.__init__c	Cs"tj|j��}tj|�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 resouces using background thread.cCs@d|_i|_g|_tj�|_d|_d|_d|_t	j
|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|j�|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}|\}}||tj�jd�}|j|tj�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_connectionNcCs�ddlm}|j��|jdk	r�||jtj�jd�}|jd�|j�|j	j
|�|j	j�rdtj
d�|jj�d|_	d|_d|_x |jj�D]\}\}}|�q�W|jj�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 |jj�D]\}\}}|�qW|jj�|jj|j�tj�|_|jdk	rX|jj	�d|_d|_
d|_dS)N)r#r6r7r$�appendr'r%r&r(rr)r*)rr3rrrrr
r+ps




z_ResourceSharer._afterforkcCsfddlm}|jdkst�tjd�|tj�jd�|_|jj	|_
tj|j
d�}d|_|j�||_dS)Nr)�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._startcCs�ttd�r tjtjtdtj��x�y\|jj��H}|j�}|dkrBP|\}}|j	j
|�\}}z|||�Wd|�XWdQRXWq"tj�s�t
jt
j��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.33 AM
root / linksafe
0755
__init__.cpython-36.opt-1.pyc
0.508 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
__init__.cpython-36.opt-2.pyc
0.492 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
__init__.cpython-36.pyc
0.508 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
connection.cpython-36.opt-1.pyc
23.947 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
connection.cpython-36.opt-2.pyc
21.753 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
connection.cpython-36.pyc
24.235 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
context.cpython-36.opt-1.pyc
12.804 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
context.cpython-36.opt-2.pyc
11.328 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
context.cpython-36.pyc
12.804 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
forkserver.cpython-36.opt-1.pyc
6.597 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
forkserver.cpython-36.opt-2.pyc
5.811 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
forkserver.cpython-36.pyc
6.69 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
heap.cpython-36.opt-1.pyc
5.768 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
heap.cpython-36.opt-2.pyc
5.752 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
heap.cpython-36.pyc
5.949 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
managers.cpython-36.opt-1.pyc
32.056 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
managers.cpython-36.opt-2.pyc
29.655 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
managers.cpython-36.pyc
32.554 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
pool.cpython-36.opt-1.pyc
20.097 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
pool.cpython-36.opt-2.pyc
18.524 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
pool.cpython-36.pyc
20.348 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
popen_fork.cpython-36.opt-1.pyc
2.053 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
popen_fork.cpython-36.opt-2.pyc
2.037 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
popen_fork.cpython-36.pyc
2.095 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
popen_forkserver.cpython-36.opt-1.pyc
2.286 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
popen_forkserver.cpython-36.opt-2.pyc
2.271 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
popen_forkserver.cpython-36.pyc
2.286 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
popen_spawn_posix.cpython-36.opt-1.pyc
2.071 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
popen_spawn_posix.cpython-36.opt-2.pyc
2.056 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
popen_spawn_posix.cpython-36.pyc
2.071 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
popen_spawn_win32.cpython-36.opt-1.pyc
2.672 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
popen_spawn_win32.cpython-36.opt-2.pyc
2.577 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
popen_spawn_win32.cpython-36.pyc
2.708 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
process.cpython-36.opt-1.pyc
7.332 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
process.cpython-36.opt-2.pyc
6.291 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
process.cpython-36.pyc
7.963 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
queues.cpython-36.opt-1.pyc
8.671 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
queues.cpython-36.opt-2.pyc
8.655 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
queues.cpython-36.pyc
8.75 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
reduction.cpython-36.opt-1.pyc
7.739 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
reduction.cpython-36.opt-2.pyc
6.921 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
reduction.cpython-36.pyc
7.785 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
resource_sharer.cpython-36.opt-1.pyc
5.017 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
resource_sharer.cpython-36.opt-2.pyc
4.583 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
resource_sharer.cpython-36.pyc
5.048 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
semaphore_tracker.cpython-36.opt-1.pyc
3.564 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
semaphore_tracker.cpython-36.opt-2.pyc
3.25 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
semaphore_tracker.cpython-36.pyc
3.596 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
sharedctypes.cpython-36.opt-1.pyc
6.662 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
sharedctypes.cpython-36.opt-2.pyc
6.411 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
sharedctypes.cpython-36.pyc
6.728 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
spawn.cpython-36.opt-1.pyc
6.264 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
spawn.cpython-36.opt-2.pyc
5.78 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
spawn.cpython-36.pyc
6.305 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
synchronize.cpython-36.opt-1.pyc
11.047 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
synchronize.cpython-36.opt-2.pyc
11.031 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
synchronize.cpython-36.pyc
11.31 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
util.cpython-36.opt-1.pyc
9.474 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
util.cpython-36.opt-2.pyc
8.772 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
util.cpython-36.pyc
9.583 KB
17 Apr 2024 5.19 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF