o
0iZ- @ s g d Z ddlZddlZddlZddlZddlZddlmZ ddlmZ ddlm Z z
ddlm
Z
mZ W n ey? edw e
ed \ZZej
jZG d
d deZ
G dd
d
e
ZG dd deZG dd de
ZG dd de
ZG dd deZG dd deZG dd dejZdS ))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 @ s\ e Zd Ze Zdd Zedd Zdd Z dd Z
d d
Zdd Zd
d Z
edd ZdS )r c C s |d u r t j }| }tjdkp|dk}tdD ]}zt|||| | }| _
W n ty5 Y qw ntdt
d|j | tjdkrWdd } t| | | j
jd urydd lm}
|
| j
jd
tj| tj| j
jfdd d S d S )
Nwin32forkd zcannot find name for semaphorezcreated semlock with handle %sc S s | j d S N)_semlock_after_fork)obj r B/opt/alt/python310/lib64/python3.10/multiprocessing/synchronize.pyr G s z%SemLock.__init__.