Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : claqxcrl ( 523)
PHP Version : 8.1.32
Disable Function : NONE
Directory :  /opt/alt/python310/lib64/python3.10/multiprocessing/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/alt/python310/lib64/python3.10/multiprocessing/__pycache__/popen_fork.cpython-310.opt-2.pyc
o

S�gI	�@s6ddlZddlZddlmZdgZGdd�de�ZdS)�N�)�util�Popenc@s`eZdZdZdd�Zdd�Zejfdd�Zdd	d
�Z	dd�Z
d
d�Zdd�Zdd�Z
dd�ZdS)r�forkcCs"t��d|_d|_|�|�dS�N)rZ_flush_std_streams�
returncode�	finalizer�_launch)�self�process_obj�r�A/opt/alt/python310/lib64/python3.10/multiprocessing/popen_fork.py�__init__szPopen.__init__cCs|Srr)r
�fdrrr
�duplicate_for_childszPopen.duplicate_for_childcCsR|jdur&zt�|j|�\}}Wn
tyYdSw||jkr&t�|�|_|jSr)r�os�waitpid�pid�OSError�waitstatus_to_exitcode)r
�flagr�stsrrr
�polls
�
z
Popen.pollNcCsP|jdur%|durddlm}||jg|�sdS|�|dkr"tj�Sd�S|jS)Nr)�waitg)rZmultiprocessing.connectionr�sentinelrr�WNOHANG)r
�timeoutrrrr
r$s
z
Popen.waitcCs\|jdur,z
t�|j|�WdStyYdSty+|jdd�dur(�YdSwdS)Ng�������?)r)rr�killr�ProcessLookupErrorrr)r
Zsigrrr
�_send_signal.s
���zPopen._send_signalcC�|�tj�dSr)r�signal�SIGTERM�r
rrr
�	terminate8�zPopen.terminatecCr r)rr!�SIGKILLr#rrr
r;r%z
Popen.killc	Cs�d}t��\}}t��\}}t��|_|jdkr7zt�|�t�|�|j|d�}Wt�|�dSt�|�wt�|�t�|�t�|tj	||f�|_
||_dS)Nrr)Zparent_sentinel)r�piperr�close�
_bootstrap�_exitrZFinalizeZ	close_fdsrr)r
r�codeZparent_rZchild_wZchild_rZparent_wrrr
r	>s 






�
z
Popen._launchcCs|jdur|��dSdSr)rr#rrr
r(Qs
�zPopen.closer)�__name__�
__module__�__qualname__�methodrrrrrrrr$rr	r(rrrr
rs


)rr!�r�__all__�objectrrrrr
�<module>s


ZeroDay Forums Mini