AlkantarClanX12
Current Path : /opt/alt/python39/lib64/python3.9/multiprocessing/__pycache__/ |
Current File : //opt/alt/python39/lib64/python3.9/multiprocessing/__pycache__/shared_memory.cpython-39.pyc |
a R�f�G � @ s� d Z ddgZddlmZ ddlZddlZddlZddlZddlZddl Z ej dkr`ddlZdZnddl Z dZejejB Zd Zer�d ZndZdd � ZG dd� d�ZdZG dd� d�ZdS )z�Provides shared memory for direct access across processes. The API of this package is currently provisional. Refer to the documentation for details. �SharedMemory� ShareableList� )�partialN�ntFT� z/psm_Zwnsm_c C sB t tt� d } | dks J d��tt�| � }t|�t ks>J �|S )z6Create a random filename for the shared memory object.� z_SHM_NAME_PREFIX too long)�_SHM_SAFE_NAME_LENGTH�len�_SHM_NAME_PREFIX�secretsZ token_hex)�nbytes�name� r �B/opt/alt/python39/lib64/python3.9/multiprocessing/shared_memory.py�_make_filename'