$60 GRAYBYTE WORDPRESS FILE MANAGER $42

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 : NONE

/opt/alt/python35/lib64/python3.5/multiprocessing/__pycache__/

HOME
Current File : /opt/alt/python35/lib64/python3.5/multiprocessing/__pycache__//resource_sharer.cpython-35.pyc


��Yf��@s�ddlZddlZddlZddlZddlZddlmZddlmZddlmZdgZ	ej
dkr�e	dg7Z	Gd	d�de�Zn#e	d
g7Z	Gdd
�d
e�Z
Gdd
�d
e�Ze�ZejZdS)�N�)�process)�	reduction)�util�stop�win32�	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/python35/lib64/python3.5/multiprocessing/resource_sharer.py�sendsz DupSocket.__init__.<locals>.send)�dup�_resource_sharer�register�close�_id)�selfZsockrr
)rr�__init__szDupSocket.__init__c	Cs9tj|j�� }|j�}tj|�SWdQRXdS)z1Get the socket.  This should only be called once.N)r�get_connectionrZ
recv_bytes�socketZ	fromshare)rr
r	r
r
r�detach$szDupSocket.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.csLtj|���fdd�}�fdd�}tj||�|_dS)Ncstj|�|�dS)N)rZsend_handle)r
r)�new_fdr
rr1szDupFd.__init__.<locals>.sendcstj��dS)N)�osrr
)rr
rr3szDupFd.__init__.<locals>.close)r rrrr)r�fdrrr
)rrr/szDupFd.__init__c	Cs-tj|j��}tj|�SWdQRXdS)z-Get the fd.  This should only be called once.N)rrrrZrecv_handle)rr
r
r
rr7szDupFd.detachN)rrrrrrr
r
r
rr-sc@sseZdZdZdd�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
rr?s						z_ResourceSharer.__init__c
Csc|j�S|jdkr#|j�|jd7_||f|j|j<|j|jfSWdQRXdS)z+Register resource, returning an identifier.Nr)r(r*�_startr#r$)rrrr
r
rrIs

z_ResourceSharer.registercCsTddlm}|\}}||dtj�j�}|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
rrRs
z_ResourceSharer.get_connectionNcCs�ddlm}|j��|jdk	r�||jdtj�j�}|jd�|j�|j	j
|�|j	j�r�tj
d�|jj�d|_	d|_d|_x*|jj�D]\}\}}|�q�W|jj�WdQRXdS)z:Stop the background thread and clear registered resources.r)r.Nr/z._ResourceSharer thread did not stop when asked)r0r.r(r*rr1r/rrr+�joinZis_aliverZsub_warningr)r$�items�clear)rZtimeoutr.r5r4rrr
r
rr[s"




			"z_ResourceSharer.stopcCs�x*|jj�D]\}\}}|�qW|jj�|jj|j�tj�|_|jdk	rx|jj	�d|_d|_
d|_dS)N)r$r7r8r%�appendr(r&r'r)rr*r+)rr4rrr
r
rr,ps"

		z_ResourceSharer._afterforkcCs�ddlm}|jdks%t�tjd�|dtj�j�|_|jj	|_
tjd|j
�}d|_|j�||_dS)Nr)�Listenerz0starting listener and thread for sending handlesr/�targetT)r0r:r)�AssertionErrorr�debugrr1r/r3r*r&ZThread�_serveZdaemon�startr+)rr:�tr
r
rr-~s
	
z_ResourceSharer._startcCs�ttd�r.tjtjtdtj��x�yv|jj��`}|j�}|dkr_P|\}}|j	j
|�\}}z|||�Wd|�XWdQRXWq1tj�s�t
jt
j��Yq1Xq1WdS)N�pthread_sigmaskr)�hasattr�signalrA�	SIG_BLOCK�range�NSIGr)ZacceptZrecvr$�poprZ
is_exiting�sys�
excepthook�exc_info)rr
�msgr4Zdestination_pidrrr
r
rr>�s z_ResourceSharer._serve)rrrrrr�staticmethodrrr,r-r>r
r
r
rr"=s
		r")r rCrrHr&�rrr�__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
..
--
12 Aug 2024 8.41 AM
root / linksafe
0755
__init__.cpython-35.opt-1.pyc
0.55 KB
31 May 2024 1.51 PM
root / linksafe
0644
__init__.cpython-35.opt-2.pyc
0.534 KB
31 May 2024 1.51 PM
root / linksafe
0644
__init__.cpython-35.pyc
0.55 KB
31 May 2024 1.51 PM
root / linksafe
0644
connection.cpython-35.opt-1.pyc
26.184 KB
31 May 2024 1.51 PM
root / linksafe
0644
connection.cpython-35.opt-2.pyc
23.979 KB
31 May 2024 1.51 PM
root / linksafe
0644
connection.cpython-35.pyc
26.55 KB
31 May 2024 1.51 PM
root / linksafe
0644
context.cpython-35.opt-1.pyc
13.2 KB
31 May 2024 1.51 PM
root / linksafe
0644
context.cpython-35.opt-2.pyc
11.818 KB
31 May 2024 1.51 PM
root / linksafe
0644
context.cpython-35.pyc
13.2 KB
31 May 2024 1.51 PM
root / linksafe
0644
forkserver.cpython-35.opt-1.pyc
6.982 KB
31 May 2024 1.51 PM
root / linksafe
0644
forkserver.cpython-35.opt-2.pyc
6.196 KB
31 May 2024 1.51 PM
root / linksafe
0644
forkserver.cpython-35.pyc
7.094 KB
31 May 2024 1.51 PM
root / linksafe
0644
heap.cpython-35.opt-1.pyc
6.396 KB
31 May 2024 1.51 PM
root / linksafe
0644
heap.cpython-35.opt-2.pyc
6.381 KB
31 May 2024 1.51 PM
root / linksafe
0644
heap.cpython-35.pyc
6.608 KB
31 May 2024 1.51 PM
root / linksafe
0644
managers.cpython-35.opt-1.pyc
33.957 KB
31 May 2024 1.51 PM
root / linksafe
0644
managers.cpython-35.opt-2.pyc
31.472 KB
31 May 2024 1.51 PM
root / linksafe
0644
managers.cpython-35.pyc
34.564 KB
31 May 2024 1.51 PM
root / linksafe
0644
pool.cpython-35.opt-1.pyc
21.885 KB
31 May 2024 1.51 PM
root / linksafe
0644
pool.cpython-35.opt-2.pyc
20.309 KB
31 May 2024 1.51 PM
root / linksafe
0644
pool.cpython-35.pyc
22.191 KB
31 May 2024 1.51 PM
root / linksafe
0644
popen_fork.cpython-35.opt-1.pyc
2.276 KB
31 May 2024 1.51 PM
root / linksafe
0644
popen_fork.cpython-35.opt-2.pyc
2.261 KB
31 May 2024 1.51 PM
root / linksafe
0644
popen_fork.cpython-35.pyc
2.325 KB
31 May 2024 1.51 PM
root / linksafe
0644
popen_forkserver.cpython-35.opt-1.pyc
2.484 KB
31 May 2024 1.51 PM
root / linksafe
0644
popen_forkserver.cpython-35.opt-2.pyc
2.469 KB
31 May 2024 1.51 PM
root / linksafe
0644
popen_forkserver.cpython-35.pyc
2.484 KB
31 May 2024 1.51 PM
root / linksafe
0644
popen_spawn_posix.cpython-35.opt-1.pyc
2.261 KB
31 May 2024 1.51 PM
root / linksafe
0644
popen_spawn_posix.cpython-35.opt-2.pyc
2.245 KB
31 May 2024 1.51 PM
root / linksafe
0644
popen_spawn_posix.cpython-35.pyc
2.261 KB
31 May 2024 1.51 PM
root / linksafe
0644
popen_spawn_win32.cpython-35.opt-1.pyc
2.923 KB
31 May 2024 1.51 PM
root / linksafe
0644
popen_spawn_win32.cpython-35.opt-2.pyc
2.826 KB
31 May 2024 1.51 PM
root / linksafe
0644
popen_spawn_win32.cpython-35.pyc
2.988 KB
31 May 2024 1.51 PM
root / linksafe
0644
process.cpython-35.opt-1.pyc
7.905 KB
31 May 2024 1.51 PM
root / linksafe
0644
process.cpython-35.opt-2.pyc
6.862 KB
31 May 2024 1.51 PM
root / linksafe
0644
process.cpython-35.pyc
8.62 KB
31 May 2024 1.51 PM
root / linksafe
0644
queues.cpython-35.opt-1.pyc
9.484 KB
31 May 2024 1.51 PM
root / linksafe
0644
queues.cpython-35.opt-2.pyc
9.469 KB
31 May 2024 1.51 PM
root / linksafe
0644
queues.cpython-35.pyc
9.576 KB
31 May 2024 1.51 PM
root / linksafe
0644
reduction.cpython-35.opt-1.pyc
7.529 KB
31 May 2024 1.51 PM
root / linksafe
0644
reduction.cpython-35.opt-2.pyc
6.873 KB
31 May 2024 1.51 PM
root / linksafe
0644
reduction.cpython-35.pyc
7.583 KB
31 May 2024 1.51 PM
root / linksafe
0644
resource_sharer.cpython-35.opt-1.pyc
5.464 KB
31 May 2024 1.51 PM
root / linksafe
0644
resource_sharer.cpython-35.opt-2.pyc
5.024 KB
31 May 2024 1.51 PM
root / linksafe
0644
resource_sharer.cpython-35.pyc
5.502 KB
31 May 2024 1.51 PM
root / linksafe
0644
semaphore_tracker.cpython-35.opt-1.pyc
3.596 KB
31 May 2024 1.51 PM
root / linksafe
0644
semaphore_tracker.cpython-35.opt-2.pyc
3.281 KB
31 May 2024 1.51 PM
root / linksafe
0644
semaphore_tracker.cpython-35.pyc
3.635 KB
31 May 2024 1.51 PM
root / linksafe
0644
sharedctypes.cpython-35.opt-1.pyc
7.239 KB
31 May 2024 1.51 PM
root / linksafe
0644
sharedctypes.cpython-35.opt-2.pyc
6.988 KB
31 May 2024 1.51 PM
root / linksafe
0644
sharedctypes.cpython-35.pyc
7.313 KB
31 May 2024 1.51 PM
root / linksafe
0644
spawn.cpython-35.opt-1.pyc
6.839 KB
31 May 2024 1.51 PM
root / linksafe
0644
spawn.cpython-35.opt-2.pyc
6.355 KB
31 May 2024 1.51 PM
root / linksafe
0644
spawn.cpython-35.pyc
6.887 KB
31 May 2024 1.51 PM
root / linksafe
0644
synchronize.cpython-35.opt-1.pyc
11.674 KB
31 May 2024 1.51 PM
root / linksafe
0644
synchronize.cpython-35.opt-2.pyc
11.658 KB
31 May 2024 1.51 PM
root / linksafe
0644
synchronize.cpython-35.pyc
11.987 KB
31 May 2024 1.51 PM
root / linksafe
0644
util.cpython-35.opt-1.pyc
10.008 KB
31 May 2024 1.51 PM
root / linksafe
0644
util.cpython-35.opt-2.pyc
9.305 KB
31 May 2024 1.51 PM
root / linksafe
0644
util.cpython-35.pyc
10.143 KB
31 May 2024 1.51 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF