AlkantarClanX12
Current Path : /opt/alt/python310/lib64/python3.10/multiprocessing/__pycache__/ |
Current File : //opt/alt/python310/lib64/python3.10/multiprocessing/__pycache__/heap.cpython-310.opt-1.pyc |
o 6��fj- � @ s� d dl Z d dlmZ d dlZd dlZd dlZd dlZd dlZddlm Z m Z ddlmZ dgZ ejdkrAd dlZG dd � d e�ZnG d d � d e�Zdd� Zd d� Ze �ee� G dd� de�ZG dd� de�ZdS )� N)�defaultdict� )� reduction�assert_spawning)�util� BufferWrapperZwin32c @ s0 e Zd ZdZe�� Zdd� Zdd� Zdd� Z dS ) �ArenazL A shared memory area backed by anonymous memory (Windows). c C sx || _ td�D ]!}dt�� t| j�f }tjd||d�}t�� dkr$ n |� � qt d��|| _|| _| j | jf| _ d S )N�d z pym-%d-%s����Ztagnamer zCannot find name for new mmap)�size�range�os�getpid�next�_rand�mmap�_winapiZGetLastError�close�FileExistsError�name�buffer�_state)�selfr �ir Zbuf� r �;/opt/alt/python310/lib64/python3.10/multiprocessing/heap.py�__init__&