$15 GRAYBYTE WORDPRESS FILE MANAGER $41

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python36/lib64/python3.6/multiprocessing/__pycache__/

HOME
Current File : /opt/alt/python36/lib64/python3.6/multiprocessing/__pycache__//semaphore_tracker.cpython-36.pyc
3

� f�@s�ddlZddlZddlZddlZddlZddlZddlmZddlmZdddgZ	Gdd	�d	e
�Ze�Zej
Z
ejZejZejZd
d�ZdS)�N�)�spawn)�util�ensure_running�register�
unregisterc@s<eZdZdd�Zdd�Zdd�Zdd�Zd	d
�Zdd�Zd
S)�SemaphoreTrackercCstj�|_d|_d|_dS)N)�	threadingZLock�_lock�_fd�_pid)�self�r�F/opt/alt/python36/lib64/python3.6/multiprocessing/semaphore_tracker.py�__init__s
zSemaphoreTracker.__init__cCs|j�|jS)N)rr)r
rrr�getfd"szSemaphoreTracker.getfdc	Cs|j��|jdk	rRtj|jtj�\}}|s0dStj|j�d|_d|_tjd�g}y|j	t
jj��Wnt
k
r~YnXd}tj�\}}zlyB|j	|�tj�}|gtj�}|d||g7}tj|||�}Wntj|��YnX||_||_Wdtj|�XWdQRXdS)z�Make sure that semaphore tracker process is running.

        This can be run from any process.  Usually a child process will use
        the semaphore created by its parent.NzWsemaphore_tracker: process died unexpectedly, relaunching.  Some semaphores might leak.z;from multiprocessing.semaphore_tracker import main;main(%d)z-c)r
r�os�waitpid�WNOHANG�closer�warnings�warn�append�sys�stderr�fileno�	Exception�piperZget_executablerZ_args_from_interpreter_flagsZspawnv_passfds)	r
�pidZstatusZfds_to_pass�cmd�r�wZexe�argsrrrr&s8





zSemaphoreTracker.ensure_runningcCs|jd|�dS)z2Register name of semaphore with semaphore tracker.ZREGISTERN)�_send)r
�namerrrrQszSemaphoreTracker.registercCs|jd|�dS)z4Unregister name of semaphore with semaphore tracker.Z
UNREGISTERN)r#)r
r$rrrrUszSemaphoreTracker.unregistercCsP|j�dj||�jd�}t|�dkr.td��tj|j|�}|t|�ksLt�dS)Nz{0}:{1}
�asciiiz
name too long)	r�format�encode�len�
ValueErrorr�writer�AssertionError)r
rr$�msg�nbytesrrrr#YszSemaphoreTracker._sendN)	�__name__�
__module__�__qualname__rrrrrr#rrrrrs+rc-Cs�tjtjtj�tjtjtj�x6tjtjfD]&}y|j�Wq.tk
rRYq.Xq.Wt	�}z�t
|d���}x�|D]�}yJ|j�jd�\}}|dkr�|j
|�n |dkr�|j|�ntd|��Wqrtk
r�ytjtj��WnYnXYqrXqrWWdQRXWd|�r<ytjdt|��Wntk
�r:YnXxf|D]^}zT|jd�}ytj|�Wn6tk
�r�}ztjd	||f�WYdd}~XnXWdX�qBWXdS)
zRun semaphore tracker.�rb�:sREGISTERs
UNREGISTERzunrecognized command %rNzRsemaphore_tracker: There appear to be %d leaked semaphores to clean up at shutdownr%zsemaphore_tracker: %r: %s)�signal�SIGINT�SIG_IGN�SIGTERMr�stdin�stdoutrr�set�open�strip�split�add�remove�RuntimeError�
excepthook�exc_inforrr(�decode�_multiprocessingZ
sem_unlink)�fd�f�cache�linerr$�errr�mainksJ



(rI)rr3rr	rrC�rr�__all__�objectrZ_semaphore_trackerrrrrrIrrrr�<module>s
I


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
24 May 2024 8.33 AM
root / linksafe
0755
__init__.cpython-36.opt-1.pyc
0.508 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
__init__.cpython-36.opt-2.pyc
0.492 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
__init__.cpython-36.pyc
0.508 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
connection.cpython-36.opt-1.pyc
23.947 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
connection.cpython-36.opt-2.pyc
21.753 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
connection.cpython-36.pyc
24.235 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
context.cpython-36.opt-1.pyc
12.804 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
context.cpython-36.opt-2.pyc
11.328 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
context.cpython-36.pyc
12.804 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
forkserver.cpython-36.opt-1.pyc
6.597 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
forkserver.cpython-36.opt-2.pyc
5.811 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
forkserver.cpython-36.pyc
6.69 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
heap.cpython-36.opt-1.pyc
5.768 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
heap.cpython-36.opt-2.pyc
5.752 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
heap.cpython-36.pyc
5.949 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
managers.cpython-36.opt-1.pyc
32.056 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
managers.cpython-36.opt-2.pyc
29.655 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
managers.cpython-36.pyc
32.554 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
pool.cpython-36.opt-1.pyc
20.097 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
pool.cpython-36.opt-2.pyc
18.524 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
pool.cpython-36.pyc
20.348 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
popen_fork.cpython-36.opt-1.pyc
2.053 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
popen_fork.cpython-36.opt-2.pyc
2.037 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
popen_fork.cpython-36.pyc
2.095 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
popen_forkserver.cpython-36.opt-1.pyc
2.286 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
popen_forkserver.cpython-36.opt-2.pyc
2.271 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
popen_forkserver.cpython-36.pyc
2.286 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
popen_spawn_posix.cpython-36.opt-1.pyc
2.071 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
popen_spawn_posix.cpython-36.opt-2.pyc
2.056 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
popen_spawn_posix.cpython-36.pyc
2.071 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
popen_spawn_win32.cpython-36.opt-1.pyc
2.672 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
popen_spawn_win32.cpython-36.opt-2.pyc
2.577 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
popen_spawn_win32.cpython-36.pyc
2.708 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
process.cpython-36.opt-1.pyc
7.332 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
process.cpython-36.opt-2.pyc
6.291 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
process.cpython-36.pyc
7.963 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
queues.cpython-36.opt-1.pyc
8.671 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
queues.cpython-36.opt-2.pyc
8.655 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
queues.cpython-36.pyc
8.75 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
reduction.cpython-36.opt-1.pyc
7.739 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
reduction.cpython-36.opt-2.pyc
6.921 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
reduction.cpython-36.pyc
7.785 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
resource_sharer.cpython-36.opt-1.pyc
5.017 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
resource_sharer.cpython-36.opt-2.pyc
4.583 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
resource_sharer.cpython-36.pyc
5.048 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
semaphore_tracker.cpython-36.opt-1.pyc
3.564 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
semaphore_tracker.cpython-36.opt-2.pyc
3.25 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
semaphore_tracker.cpython-36.pyc
3.596 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
sharedctypes.cpython-36.opt-1.pyc
6.662 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
sharedctypes.cpython-36.opt-2.pyc
6.411 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
sharedctypes.cpython-36.pyc
6.728 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
spawn.cpython-36.opt-1.pyc
6.264 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
spawn.cpython-36.opt-2.pyc
5.78 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
spawn.cpython-36.pyc
6.305 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
synchronize.cpython-36.opt-1.pyc
11.047 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
synchronize.cpython-36.opt-2.pyc
11.031 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
synchronize.cpython-36.pyc
11.31 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
util.cpython-36.opt-1.pyc
9.474 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
util.cpython-36.opt-2.pyc
8.772 KB
17 Apr 2024 5.19 PM
root / linksafe
0644
util.cpython-36.pyc
9.583 KB
17 Apr 2024 5.19 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF