uawdijnntqw1x1x1
IP : 3.135.209.20
Hostname : host45.registrar-servers.com
Kernel : Linux host45.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
home
/
.
/
..
/
lib64
/
pgsql
/
..
/
python3.8
/
multiprocessing
/
__pycache__
/
popen_fork.cpython-38.opt-2.pyc
/
/
U e5d �@s6ddlZddlZddlmZdgZGdd�de�ZdS)�N�)�util�Popenc@s`eZdZdZdd�Zdd�Zejfdd�Zdd d �Z dd�Z d d�Zdd�Zdd�Z dd�ZdS)r�forkcCs"t��d|_d|_|�|�dS�N)rZ_flush_std_streams� returncode� finalizer�_launch)�self�process_obj�r�2/usr/lib64/python3.8/multiprocessing/popen_fork.py�__init__szPopen.__init__cCs|Srr)r �fdrrr �duplicate_for_childszPopen.duplicate_for_childc Cs�|jdkrzzt�|j|�\}}Wn(tk rH}z WY�dSd}~XYnX||jkrzt�|�rnt�|�|_nt�|�|_|jSr)r�os�waitpid�pid�OSError�WIFSIGNALED�WTERMSIG�WEXITSTATUS)r �flagr�sts�errr �polls z Popen.pollNcCsN|jdkrH|dk r0ddlm}||jg|�s0dS|�|dkrBtjnd�S|jS)Nr)�waitg)rZmultiprocessing.connectionr�sentinelrr�WNOHANG)r �timeoutrrrr r(s z Popen.waitcCsZ|jdkrVzt�|j|�Wn8tk r0Yn&tk rT|jdd�dkrP�YnXdS)Ng�������?)r)rr�killr�ProcessLookupErrorrr)r Zsigrrr �_send_signal2s zPopen._send_signalcCs|�tj�dSr)r"�signal�SIGTERM�r rrr � terminate<szPopen.terminatecCs|�tj�dSr)r"r#�SIGKILLr%rrr r ?sz Popen.killc Cs�d}t��\}}t��\}}t��|_|jdkrdz$t�|�t�|�|j|d�}W5t�|�Xn0t�|�t�|�t�|tj ||f�|_ ||_dS)Nrr)Zparent_sentinel)r�piperr�_exit�close� _bootstraprZFinalizeZ close_fdsrr)r r�codeZparent_rZchild_wZchild_rZparent_wrrr r Bs �z Popen._launchcCs|jdk r|��dSr)rr%rrr r*Us zPopen.close)N)�__name__� __module__�__qualname__�methodrrrrrrr"r&r r r*rrrr rs )rr#�r�__all__�objectrrrrr �<module>s
/home/./../lib64/pgsql/../python3.8/multiprocessing/__pycache__/popen_fork.cpython-38.opt-2.pyc