✏️ 编辑:heap.cpython-39.pyc
路径:
/usr/lib64/python3.9/multiprocessing/__pycache__/heap.cpython-39.pyc
大小:7.46 KB · 修改:2026-08-12 15:51:23 · 权限:0644 · 只读(保存会失败)
← 返回目录
👁 查看
⬇ 下载
检测到二进制内容,直接保存可能损坏文件。请改用「上传替换」。
a �ij- � @ 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� 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 ]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 �buf� r �,/usr/lib64/python3.9/multiprocessing/heap.py�__init__&