관리-도구
편집 파일: connection.cpython-36.pyc
3 �QgVy � @ s d dddgZ ddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl mZ ddl mZm Z dd lmZ ejZy$ddlZdd lmZmZmZmZ W n$ ek r� ejdkr dZY nX dZd ZdZej� 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� ZFejGe(eE� dJdK� ZHdLdM� ZIejGe'eH� ndNdG� ZEdOdI� ZFejGe(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 j� | S )N)�time� monotonic)�timeout� r �2/usr/lib64/python3.6/multiprocessing/connection.py� _init_timeout? s r c C s t j� | kS )N)r r )�tr r r �_check_timeoutB s r c C sX | dkrdS | dkr&t jdtj� d�S | dkrLt jdtj� tt�f d d�S td ��dS ) z? Return an arbitrary free address for the given family r � localhostr r z listener-)�prefix�dirr z\\.\pipe\pyc-%d-%d-� zunrecognized familyN)r r ) �tempfileZmktempr Zget_temp_dir�os�getpid�next� _mmap_counter� ValueError)�familyr r r �arbitrary_addressI s r&