Current Dir: /snap/core22/2437/usr/lib/python3.10/multiprocessing/__pycache__/
[FILE] connection.cpython-310.pyc [ edit | delete | rename ]
[FILE] context.cpython-310.pyc [ edit | delete | rename ]
[FILE] forkserver.cpython-310.pyc [ edit | delete | rename ]
[FILE] heap.cpython-310.pyc [ edit | delete | rename ]
[FILE] managers.cpython-310.pyc [ edit | delete | rename ]
[FILE] pool.cpython-310.pyc [ edit | delete | rename ]
[FILE] popen_fork.cpython-310.pyc [ edit | delete | rename ]
[FILE] popen_forkserver.cpython-310.pyc [ edit | delete | rename ]
[FILE] popen_spawn_posix.cpython-310.pyc [ edit | delete | rename ]
[FILE] popen_spawn_win32.cpython-310.pyc [ edit | delete | rename ]
[FILE] process.cpython-310.pyc [ edit | delete | rename ]
[FILE] queues.cpython-310.pyc [ edit | delete | rename ]
[FILE] reduction.cpython-310.pyc [ edit | delete | rename ]
[FILE] resource_sharer.cpython-310.pyc [ edit | delete | rename ]
[FILE] resource_tracker.cpython-310.pyc [ edit | delete | rename ]
[FILE] sharedctypes.cpython-310.pyc [ edit | delete | rename ]
[FILE] shared_memory.cpython-310.pyc [ edit | delete | rename ]
[FILE] spawn.cpython-310.pyc [ edit | delete | rename ]
[FILE] synchronize.cpython-310.pyc [ edit | delete | rename ]
[FILE] util.cpython-310.pyc [ edit | delete | rename ]
[FILE] __init__.cpython-310.pyc [ edit | delete | rename ]
Viewing: /snap/core22/2437/usr/lib/python3.10/multiprocessing/__pycache__/heap.cpython-310.pyc
o
p̦ij- � @ 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�
BufferWrapper�win32c @ 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�����tagnamer zCannot find name for new mmap)�size�range�os�getpid�next�_rand�mmap�_winapi�GetLastError�close�FileExistsError�name�buffer�_state)�selfr �ir �buf� r �+/usr/lib/python3.10/multiprocessing/heap.py�__init__&