$59 GRAYBYTE WORDPRESS FILE MANAGER $32

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/python311/lib64/python3.11/multiprocessing/__pycache__/

HOME
Current File : /opt/alt/python311/lib64/python3.11/multiprocessing/__pycache__//resource_sharer.cpython-311.pyc
�

���h���ddlZddlZddlZddlZddlZddlmZddlmZddlm	Z	dgZ
ejdkre
dgz
Z
Gd	�de��Z
ne
d
gz
Z
Gd�d
e��ZGd�d
e��Ze��ZejZdS)�N�)�process)�	reduction)�util�stop�win32�	DupSocketc��eZdZdZd�Zd�ZdS)r	zPicklable wrapper for a socket.c���|�����fd�}t�|�j��|_dS)Nc�\����|��}|�|��dS�N)�share�
send_bytes)�conn�pidr�new_socks   ��F/opt/alt/python311/lib64/python3.11/multiprocessing/resource_sharer.py�sendz DupSocket.__init__.<locals>.sends,��� ���s�+�+������&�&�&�&�&�)�dup�_resource_sharer�register�close�_id)�self�sockrrs   @r�__init__zDupSocket.__init__sH����x�x�z�z�H�
'�
'�
'�
'�
'�(�0�0��x�~�F�F�D�H�H�Hrc���t�|j��5}|���}t	j|��cddd��S#1swxYwYdS)z1Get the socket.  This should only be called once.N)r�get_connectionr�
recv_bytes�socket�	fromshare)rrrs   r�detachzDupSocket.detach$s���!�0�0���:�:�
/�d����)�)���'��.�.�
/�
/�
/�
/�
/�
/�
/�
/�
/�
/�
/�
/����
/�
/�
/�
/�
/�
/s�(A�A�AN��__name__�
__module__�__qualname__�__doc__rr#�rrr	r	s;������-�-�	G�	G�	G�	/�	/�	/�	/�	/r�DupFdc��eZdZdZd�Zd�ZdS)r*z-Wrapper for fd which can be used at any time.c���tj|����fd�}�fd�}t�||��|_dS)Nc�4��tj|�|��dSr
)r�send_handle)rr�new_fds  �rrzDupFd.__init__.<locals>.send1s����%�d�F�C�8�8�8�8�8rc�0��tj���dSr
)�osr)r/s�rrzDupFd.__init__.<locals>.close3s������ � � � � r)r1rrrr)r�fdrrr/s    @rrzDupFd.__init__/s]����V�B�Z�Z�F�
9�
9�
9�
9�
9�
!�
!�
!�
!�
!�'�0�0��u�=�=�D�H�H�Hrc��t�|j��5}tj|��cddd��S#1swxYwYdS)z-Get the fd.  This should only be called once.N)rrrr�recv_handle)rrs  rr#zDupFd.detach7s���!�0�0���:�:�
3�d� �,�T�2�2�
3�
3�
3�
3�
3�
3�
3�
3�
3�
3�
3�
3����
3�
3�
3�
3�
3�
3s�A�A�ANr$r)rrr*r*-s8������;�;�	>�	>�	>�	3�	3�	3�	3�	3rc�N�eZdZdZd�Zd�Zed���Zd
d�Zd�Z	d�Z
d	�ZdS)�_ResourceSharerz.Manager for resources using background thread.c��d|_i|_tj��|_d|_d|_d|_tj	|tj��dS)Nr)�_key�_cache�	threading�Lock�_lock�	_listener�_address�_threadr�register_after_forkr6�
_afterfork)rs rrz_ResourceSharer.__init__?sP����	�����^�%�%��
������
����� ���'A�B�B�B�B�Brc���|j5|j�|���|xjdz
c_||f|j|j<|j|jfcddd��S#1swxYwYdS)z+Register resource, returning an identifier.Nr)r<r>�_startr8r9)rrrs   rrz_ResourceSharer.registerHs���
�Z�	.�	.��}�$����
�
�
��I�I��N�I�I�&*�E�]�D�K��	�"��M�4�9�-�	.�	.�	.�	.�	.�	.�	.�	.�	.�	.�	.�	.����	.�	.�	.�	.�	.�	.s�A
A�A#�&A#c��ddlm}|\}}||tj��j���}|�|t
j��f��|S)z<Return connection from which to receive identified resource.r��Client��authkey)�
connectionrFr�current_processrHrr1�getpid)�identrF�address�key�cs     rrz_ResourceSharer.get_connectionQsa��	'�&�&�&�&�&������F�7�G�$;�$=�$=�$E�F�F�F��	����R�Y�[�[�!�"�"�"��rNc�x�ddlm}|j5|j��||jt	j��j���}|�d��|���|j	�
|��|j	���rtj
d��|j���d|_	d|_d|_|j���D]\}\}}|���|j���ddd��dS#1swxYwYdS)z:Stop the background thread and clear registered resources.rrENrGz._ResourceSharer thread did not stop when asked)rIrFr<r>rrJrHrrr?�join�is_aliver�sub_warningr=r9�items�clear)r�timeoutrFrOrNrrs       rrz_ResourceSharer.stopZs���&�&�&�&�&�&�
�Z�	$�	$��}�(��F�4�=�#*�#:�#<�#<�#D�F�F�F�����t�������	�	�	���!�!�'�*�*�*��<�(�(�*�*�<��$�&;�<�<�<���$�$�&�&�&�#��� $��
�!%���*.�+�*;�*;�*=�*=���&�C��$���E�G�G�G�G���!�!�#�#�#�!	$�	$�	$�	$�	$�	$�	$�	$�	$�	$�	$�	$����	$�	$�	$�	$�	$�	$s�DD/�/D3�6D3c�,�|j���D]\}\}}|���|j���|j���|j�|j���d|_d|_d|_dSr
)	r9rTrUr<�_at_fork_reinitr=rr>r?)rrNrrs    rrAz_ResourceSharer._afterforkos���"&�+�"3�"3�"5�"5�	�	��C��$���E�G�G�G�G���������
�"�"�$�$�$��>�%��N� � �"�"�"������
�����rc�F�ddlm}|j�
Jd���tjd��|tj��jd���|_|jj|_	tj|j���}d|_
|���||_dS)	Nr)�ListenerzAlready have Listenerz0starting listener and thread for sending handles�)rH�backlog)�targetT)rIrZr=r�debugrrJrHrMr>r:�Thread�_serve�daemon�startr?)rrZ�ts   rrCz_ResourceSharer._startzs���(�(�(�(�(�(��~�%�%�'>�%�%�%��
�E�F�F�F�!��'�*A�*C�*C�*K�UX�Y�Y�Y�����.��
���D�K�0�0�0�����	���	�	�	�����rc�D�ttd��r0tjtjtj����		|j���5}|���}|�	ddd��dS|\}}|j�	|��\}}	|||��|��n#|��wxYw	ddd��n#1swxYwYn9#tj��stj
tj���YnxYw��)N�pthread_sigmask)�hasattr�signalre�	SIG_BLOCK�
valid_signalsr=�accept�recvr9�popr�
is_exiting�sys�
excepthook�exc_info)rr�msgrN�destination_pidrrs       rr`z_ResourceSharer._serve�so���6�,�-�-�	M��"�6�#3�V�5I�5K�5K�L�L�L�	4�

4��^�*�*�,�,�	 ���)�)�+�+�C��{��	 �	 �	 �	 �	 �	 �	 �	 �,/�(�C��"&�+�/�/�#�"6�"6�K�D�%� ���T�?�3�3�3������������������	 �	 �	 �	 �	 �	 �	 �	 �	 �	 �	 ����	 �	 �	 �	 ���
4���(�(�4��N�C�L�N�N�3�3������	4sT�C(�!C�9C(�"C�)C�5C�C�C�C(�C � C(�#C �$C(�(4Dr
)r%r&r'r(rr�staticmethodrrrArCr`r)rrr6r6=s�������8�8�C�C�C�.�.�.�����\��$�$�$�$�*	�	�	�	�	�	�4�4�4�4�4rr6)r1rgr!rnr:�r�contextrr�__all__�platform�objectr	r*r6rrr)rr�<module>rysE��
�	�	�	�
�
�
�
�
�
�
�
�
�
�
�
������������������������(���<�7�����}��G�
/�
/�
/�
/�
/�F�
/�
/�
/�
/� ��y��G�
3�
3�
3�
3�
3��
3�
3�
3� Y4�Y4�Y4�Y4�Y4�f�Y4�Y4�Y4�x#�?�$�$������r


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
10 Feb 2026 9.36 AM
root / linksafe
0755
__init__.cpython-311.opt-1.pyc
1.099 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
__init__.cpython-311.opt-2.pyc
1.099 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
__init__.cpython-311.pyc
1.099 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
connection.cpython-311.opt-1.pyc
47.341 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
connection.cpython-311.opt-2.pyc
45.519 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
connection.cpython-311.pyc
47.862 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
context.cpython-311.opt-1.pyc
19.11 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
context.cpython-311.opt-2.pyc
17.866 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
context.cpython-311.pyc
19.11 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
forkserver.cpython-311.opt-1.pyc
16.513 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
forkserver.cpython-311.opt-2.pyc
15.774 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
forkserver.cpython-311.pyc
16.633 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
heap.cpython-311.opt-1.pyc
14.334 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
heap.cpython-311.opt-2.pyc
14.156 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
heap.cpython-311.pyc
14.353 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
managers.cpython-311.opt-1.pyc
71.339 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
managers.cpython-311.opt-2.pyc
67.695 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
managers.cpython-311.pyc
71.821 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
pool.cpython-311.opt-1.pyc
46.169 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
pool.cpython-311.opt-2.pyc
44.437 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
pool.cpython-311.pyc
46.271 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
popen_fork.cpython-311.opt-1.pyc
4.272 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
popen_fork.cpython-311.opt-2.pyc
4.272 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
popen_fork.cpython-311.pyc
4.272 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
popen_forkserver.cpython-311.opt-1.pyc
4.252 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
popen_forkserver.cpython-311.opt-2.pyc
4.252 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
popen_forkserver.cpython-311.pyc
4.252 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
popen_spawn_posix.cpython-311.opt-1.pyc
4.327 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
popen_spawn_posix.cpython-311.opt-2.pyc
4.327 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
popen_spawn_posix.cpython-311.pyc
4.327 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
popen_spawn_win32.cpython-311.opt-1.pyc
6.417 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
popen_spawn_win32.cpython-311.opt-2.pyc
6.337 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
popen_spawn_win32.cpython-311.pyc
6.48 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
process.cpython-311.opt-1.pyc
17.589 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
process.cpython-311.opt-2.pyc
16.292 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
process.cpython-311.pyc
18.731 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
queues.cpython-311.opt-1.pyc
19.404 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
queues.cpython-311.opt-2.pyc
19.261 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
queues.cpython-311.pyc
19.546 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
reduction.cpython-311.opt-1.pyc
14.646 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
reduction.cpython-311.opt-2.pyc
13.98 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
reduction.cpython-311.pyc
14.646 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
resource_sharer.cpython-311.opt-1.pyc
9.703 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
resource_sharer.cpython-311.opt-2.pyc
9.318 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
resource_sharer.cpython-311.pyc
9.781 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
resource_tracker.cpython-311.opt-1.pyc
12.15 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
resource_tracker.cpython-311.opt-2.pyc
11.824 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
resource_tracker.cpython-311.pyc
12.363 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
shared_memory.cpython-311.opt-1.pyc
23.485 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
shared_memory.cpython-311.opt-2.pyc
20.881 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
shared_memory.cpython-311.pyc
23.98 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
sharedctypes.cpython-311.opt-1.pyc
11.677 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
sharedctypes.cpython-311.opt-2.pyc
11.447 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
sharedctypes.cpython-311.pyc
11.797 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
spawn.cpython-311.opt-1.pyc
12.314 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
spawn.cpython-311.opt-2.pyc
11.898 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
spawn.cpython-311.pyc
12.435 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
synchronize.cpython-311.opt-1.pyc
21.387 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
synchronize.cpython-311.opt-2.pyc
21.387 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
synchronize.cpython-311.pyc
22.008 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
util.cpython-311.opt-1.pyc
20.191 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
util.cpython-311.opt-2.pyc
19.449 KB
7 Jan 2026 10.45 PM
root / linksafe
0644
util.cpython-311.pyc
20.286 KB
7 Jan 2026 10.45 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF