관리-도구
편집 파일: shared_memory.cpython-312.opt-2.pyc
� �Q�fH � � � d dgZ ddlmZ ddlZddlZddlZddlZddlZddlZej dk( rddl Z dZnddlZdZdd l mZ ej ej z Zd ZerdZndZd � Z G d� d � ZdZ G d� d� Zy)�SharedMemory� ShareableList� )�partialN�ntFT� )�resource_tracker� z/psm_�wnsm_c �r � t t t � z dz } t t j | � z }|S )N� )�_SHM_SAFE_NAME_LENGTH�len�_SHM_NAME_PREFIX�secrets� token_hex)�nbytes�names �D/opt/alt/python312/lib64/python3.12/multiprocessing/shared_memory.py�_make_filenamer ( s4 � �<�#�c�*:�&;�;�� A�F��g�/�/��7�7�D��K� c � � e Zd Z dZdZdZdZej Z dZ erdndZdd�Z d� Zd� Zd � Zed � � Zed� � Zed� � Zd � Zd� Zy)r N���i� TFc � � |dk\ st d� �|r,t t j z | _ |dk( rt d� �|�(| j t j z st d� �t �r)|�E t � } t j || j | j �� | _ || _ nK| j rd|z n|}t j || j | j �� | _ || _ |r"|r t j | j |� t j | j � }|j"