Hacked By AnonymousFox
U
e5dD � @ s� d Z ddgZddlmZ ddlZddlZddlZddlZddlZej dkrXddl
Z
dZnddlZdZej
ejB 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 td��tt�| � }t|�t ks>t�|S )z6Create a random filename for the shared memory object.� z_SHM_NAME_PREFIX too long)�_SHM_SAFE_NAME_LENGTH�len�_SHM_NAME_PREFIX�AssertionError�secretsZ token_hex)�nbytes�name� r �5/usr/lib64/python3.8/multiprocessing/shared_memory.py�_make_filename&