| Server IP : 156.238.232.47 / Your IP : 216.73.216.150 Web Server : nginx/1.25.3 System : Linux C202504152095410 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : www ( 1000) PHP Version : 8.3.25 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/lib64/python3.6/multiprocessing/__pycache__/ |
Upload File : |
3 \/ � @ s, d dddddgZ ddlZddlZddlZddlZddlZdd lmZ dd lmZ ddlm Z yddlm Z mZ W n ek r� ed��Y nX e ed��\ZZej jZG dd� de�Z G dd� de �ZG dd� de�ZG dd � d e �ZG dd� de �ZG dd� de�ZG dd� de�ZG dd� dej�ZdS )�Lock�RLock� Semaphore�BoundedSemaphore� Condition�Event� N� )�context)�process)�util)�SemLock� sem_unlinkz*This platform lacks a functioning sem_openz( implementation, therefore, the requiredz+ synchronization primitives needed will notz function, see issue 3770.� c @ s\ e Zd Zej� Zdd� Zedd� �Zdd� Z dd� Z d d � Zdd� Zd d� Z edd� �ZdS )r c C s� |d krt jj� }|j� }tjdkp*|dk}xPtd�D ]<}y tj|||| j � |� }| _ W n tk rn Y q6X P q6W td��tj d|j � | j� tjdkr�dd� } tj| | � | j jd k r�dd lm} | | j j� tj| tj| j jfd d� d S )N�win32�fork�d zcannot find name for semaphorezcreated semlock with handle %sc S s | j j� d S )N)�_semlock�_after_fork)�obj� r �3/usr/lib64/python3.6/multiprocessing/synchronize.pyr G s z%SemLock.__init__.<locals>._after_forkr )�registerr )Zexitpriority)r Z_default_contextZget_contextZget_start_method�sys�platform�range�_multiprocessingr � _make_namer �FileExistsErrorr �debug�handle� _make_methodsZregister_after_fork�name�semaphore_trackerr ZFinalize�_cleanup)�self�kind�value�maxvalue�ctxr! Z unlink_now�i�slr r r r r �__init__2 s. zSemLock.__init__c C s ddl m} t| � || � d S )Nr )� unregister)r"