| Server IP : 93.86.61.54 / Your IP : 216.73.216.60 Web Server : Apache/2.4.62 (Ubuntu) System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64 User : www-data ( 33) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.10/multiprocessing/__pycache__/ |
Upload File : |
o
�9j � @ s� d dl Z d dlZd dlZd dlZd dlZddlmZ ddlmZ ddlm Z dgZ
ejdkr<e
dg7 Z
G d d� de�Z
n
e
d
g7 Z
G dd
� d
e�ZG dd
� d
e�Ze� ZejZdS )� N� )�process)� reduction)�util�stop�win32� DupSocketc @ � e Zd ZdZdd� Zdd� ZdS )r zPicklable wrapper for a socket.c s( |� � � � fdd�}t�|� j�| _d S )Nc s � � |�}| �|� d S �N)�share�
send_bytes)�conn�pidr ��new_sock� �6/usr/lib/python3.10/multiprocessing/resource_sharer.py�send s
z DupSocket.__init__.<locals>.send)�dup�_resource_sharer�register�close�_id)�self�sockr r r r �__init__ s zDupSocket.__init__c C sB t �| j��}|�� }t�|�W d � S 1 sw Y dS )z1Get the socket. This should only be called once.N)r �get_connectionr �
recv_bytes�socket� fromshare)r r
r r r r �detach$ s $�zDupSocket.detachN��__name__�
__module__�__qualname__�__doc__r r r r r r r s �DupFdc @ r )r&