File: //lib/python3.12/multiprocessing/__pycache__/pool.cpython-312.pyc
�
    )!�h�  �                   �  � d dgZ ddlZddlZddlZddlZddlZddlZddlZddlZddl	Z	ddl
mZ ddl
mZm
Z
 ddlmZ dZd	Zd
ZdZ ej(                  �       Zd� Zd
� Z G d� de�      Z G d� d�      Zd� Z G d� de�      Z	 	 d#d�Zd� Z G d� de�      Z  G d� d e!�      Z" G d� de!�      Z#e#Z$ G d� de#�      Z% G d� de!�      Z& G d � d!e&�      Z' G d"� de"�      Z(y)$�Pool�
ThreadPool�    N�   )�util)�get_context�TimeoutError)�wait�INIT�RUN�CLOSE�	TERMINATEc                 �$   � t        t        | � �      S �N)�list�map��argss    �+/usr/lib/python3.12/multiprocessing/pool.py�mapstarr   /   s   � ���T�
���    c                 �L   � t        t        j                  | d   | d   �      �      S )Nr   r   )r   �	itertools�starmapr   s    r   �starmapstarr   2   s"