%PDF- %PDF-
Direktori : /lib64/python3.8/multiprocessing/__pycache__/ |
Current File : //lib64/python3.8/multiprocessing/__pycache__/heap.cpython-38.pyc |
U e5dj- � @ s� d dl Z d dlmZ d dlZd dlZd dlZd dlZd dlZddlm Z m Z ddlmZ dgZ ejdkr�d dlZG dd � d e�Zn,G 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 ]B}dt�� t| j�f }tjd||d�}t�� dkrH qZ|� � 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 �,/usr/lib64/python3.8/multiprocessing/heap.py�__init__&