AlkantarClanX12
Current Path : /opt/alt/python311/lib64/python3.11/multiprocessing/__pycache__/ |
Current File : //opt/alt/python311/lib64/python3.11/multiprocessing/__pycache__/heap.cpython-311.opt-1.pyc |
� c��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� � ZdS )� N)�defaultdict� )� reduction�assert_spawning)�util� BufferWrapper�win32c �B � e Zd ZdZ ej � � Zd� Zd� Zd� Z dS )�ArenazL A shared memory area backed by anonymous memory (Windows). c �t � || _ t d� � D ]p}dt j � � t | j � � fz }t j d||�� � }t j � � dk r n$|� � � �qt d� � �|| _ || _ | j | j f| _ d S )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/python311/lib64/python3.11/multiprocessing/heap.py�__init__zArena.__init__&