SvL>#p g d Z ddlZddlZddlZddlZddlZddlmZ ddlmZ ddlm Z ddlm
Z
mZ n# e$ r ed w xY w e
ed \ ZZej
j Z G d
de Z
G d d
e
Z G d de Z G d de
Z G d de
Z G d de Z G d de Z G d dej ZdS ))LockRLock SemaphoreBoundedSemaphore ConditionEvent N )context)process)util)SemLock
sem_unlinkzThis platform lacks a functioning sem_open implementation, therefore, the required synchronization primitives needed will not function, see issue 3770. c | e Zd Z ej Zd Zed Zd Z d Z
d Zd Zd Z
ed Zd S )
r
c |t j }| dk | _ t
j dk p| j }t d D ]E} t j ||||
| x}| _ n# t $ r Y Bw xY wt d t j d|j z | t
j dk rd }t j | | | j j Kddlm} | | j j d t j | t j | j j fd
d S d S )Nforkwin32d zcannot find name for semaphorezcreated semlock with handle %sc 8 | j d S N)_semlock_after_fork)objs B/opt/alt/python311/lib64/python3.11/multiprocessing/synchronize.pyr z%SemLock.__init__.