관리-도구
편집 파일: heap.cpython-312.opt-1.pyc
� �Q�fj- � � � d dl Z d dlmZ d dlZd dlZd dlZd dlZd dlZddlm Z m Z ddlmZ dgZ ej dk( rd dlZ G d� d e� Zn$ G d � d e� Zd� Zd� Z e j( ee� G d � de� Z G d� de� Zy)� N)�defaultdict� )� reduction�assert_spawning)�util� BufferWrapper�win32c �D � e Zd ZdZ ej � Zd� Zd� Zd� Z y)�ArenazL A shared memory area backed by anonymous memory (Windows). c �x � || _ t d� D ]o }dt j � t | j � fz }t j d||�� }t j � dk( r n|j � �q t d� �|| _ || _ | j | j f| _ y )N�d z pym-%d-%s�����tagnamer zCannot find name for new mmap)�size�range�os�getpid�next�_rand�mmap�_winapi�GetLastError�close�FileExistsError�name�buffer�_state)�selfr �ir �bufs �;/opt/alt/python312/lib64/python3.12/multiprocessing/heap.py�__init__zArena.__init__&