%PDF- %PDF-
Direktori : /usr/lib64/python3.8/multiprocessing/__pycache__/ |
Current File : //usr/lib64/python3.8/multiprocessing/__pycache__/connection.cpython-38.pyc |
U &�.ep| � @ s d dddgZ ddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl mZ ddl mZm Z dd lmZ ejZz$ddlZdd lmZmZmZmZ W n$ ek r� ejdkr dZY nX dZd ZdZe�� ZdZdgZe ed��rdZedg7 Zejdk�rdZedg7 Zefdd�Z!dd� Z"dd� Z#dd� Z$dd� Z%G dd� d�Z&e�rnG dd� de&�Z'G d d!� d!e&�Z(G d"d� de)�Z*dPd#d �Z+ejdk�r�dQd%d�Z,n dRd&d�Z,G d'd(� d(e)�Z-d)d*� Z.ejdk�r�G d+d,� d,e)�Z/d-d.� Z0d/Z1d0Z2d1Z3d2Z4d3d4� Z5d5d6� Z6G d7d8� d8e)�Z7d9d:� Z8d;d<� Z9G d=d>� d>e*�Z:d?d@� Z;ejdk�rzdAdB� Z<ej=ej>hZ?dSdCd�Z@n,ddlAZAe eAdD��r�eAjBZCneAjDZCdTdEd�Z@ejdk�r�dFdG� ZEdHdI� ZFe�Ge(eE� dJdK� ZHdLdM� ZIe�Ge'eH� ndNdG� ZEdOdI� ZFe�Ge(eE� dS )U�Client�Listener�Pipe�wait� N� )�util)�AuthenticationError�BufferTooShort)� reduction)� WAIT_OBJECT_0�WAIT_ABANDONED_0�WAIT_TIMEOUT�INFINITE�win32i g 4@Zsha256�AF_INET�AF_UNIX�AF_PIPEc C s t �� | S �N��time� monotonic)�timeout� r �2/usr/lib64/python3.8/multiprocessing/connection.py� _init_timeout? s r c C s t �� | kS r r )�tr r r �_check_timeoutB s r c C sX | dkrdS | dkr&t jdt�� d�S | dkrLt jdt�� tt�f dd�S td ��d S )z? Return an arbitrary free address for the given family r )Z localhostr r z listener-)�prefix�dirr z\\.\pipe\pyc-%d-%d-� zunrecognized familyN) �tempfileZmktempr Zget_temp_dir�os�getpid�next� _mmap_counter� ValueError��familyr r r �arbitrary_addressI s ��r( c C sJ t jdkr| dkrtd| ��t jdkrF| dkrFtt| �sFtd| ��dS )zD Checks if the family is valid for the current environment. r r zFamily %s is not recognized.r N)�sys�platformr% �hasattr�socketr&