관리-도구
편집 파일: pool.cpython-38.pyc
U e5d�~ � @ sd d dgZ ddlZddlZddlZddlZddlZddlZddlZddlZddlm Z ddl mZ ddl mZm Z ddlmZ d Zd ZdZdZe�� Zd d� Zdd� ZG dd� de�ZG dd� d�Zdd� ZG dd� de�Zd+dd�Zdd� ZG dd � d e�Z G d!d � d e!�Z"G d"d#� d#e!�Z#e#Z$G d$d%� d%e#�Z%G d&d'� d'e!�Z&G d(d)� d)e&�Z'G d*d� de"�Z(dS ),�Pool� ThreadPool� N)�Empty� )�util)�get_context�TimeoutError)�wait�INIT�RUN�CLOSE� TERMINATEc C s t t| � �S �N)�list�map��args� r �,/usr/lib64/python3.8/multiprocessing/pool.py�mapstar/ s r c C s t t�| d | d ��S )Nr r )r � itertools�starmapr r r r �starmapstar2 s r c @ s e Zd Zdd� Zdd� ZdS )�RemoteTracebackc C s || _ d S r ��tb)�selfr r r r �__init__: s zRemoteTraceback.__init__c C s | j S r r �r r r r �__str__<