Current Path: > > opt > alt > python35 > lib64 > python3.5 > > > multiprocessing > __pycache__
Operation : Linux premium131.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 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
__init__.cpython-35.opt-1.pyc | File | 563 bytes | May 31 2024 13:51:47. | |
__init__.cpython-35.opt-2.pyc | File | 547 bytes | May 31 2024 13:51:30. | |
__init__.cpython-35.pyc | File | 563 bytes | May 31 2024 13:51:52. | |
connection.cpython-35.opt-1.pyc | File | 26812 bytes | May 31 2024 13:51:47. | |
connection.cpython-35.opt-2.pyc | File | 24555 bytes | May 31 2024 13:51:30. | |
connection.cpython-35.pyc | File | 27187 bytes | May 31 2024 13:51:52. | |
context.cpython-35.opt-1.pyc | File | 13517 bytes | May 31 2024 13:51:47. | |
context.cpython-35.opt-2.pyc | File | 12102 bytes | May 31 2024 13:51:30. | |
context.cpython-35.pyc | File | 13517 bytes | May 31 2024 13:51:52. | |
forkserver.cpython-35.opt-1.pyc | File | 7150 bytes | May 31 2024 13:51:47. | |
forkserver.cpython-35.opt-2.pyc | File | 6345 bytes | May 31 2024 13:51:30. | |
forkserver.cpython-35.pyc | File | 7264 bytes | May 31 2024 13:51:52. | |
heap.cpython-35.opt-1.pyc | File | 6550 bytes | May 31 2024 13:51:47. | |
heap.cpython-35.opt-2.pyc | File | 6534 bytes | May 31 2024 13:51:30. | |
heap.cpython-35.pyc | File | 6767 bytes | May 31 2024 13:51:52. | |
managers.cpython-35.opt-1.pyc | File | 34772 bytes | May 31 2024 13:51:47. | |
managers.cpython-35.opt-2.pyc | File | 32227 bytes | May 31 2024 13:51:30. | |
managers.cpython-35.pyc | File | 35394 bytes | May 31 2024 13:51:52. | |
pool.cpython-35.opt-1.pyc | File | 22410 bytes | May 31 2024 13:51:47. | |
pool.cpython-35.opt-2.pyc | File | 20796 bytes | May 31 2024 13:51:30. | |
pool.cpython-35.pyc | File | 22724 bytes | May 31 2024 13:51:52. | |
popen_fork.cpython-35.opt-1.pyc | File | 2331 bytes | May 31 2024 13:51:47. | |
popen_fork.cpython-35.opt-2.pyc | File | 2315 bytes | May 31 2024 13:51:30. | |
popen_fork.cpython-35.pyc | File | 2381 bytes | May 31 2024 13:51:52. | |
popen_forkserver.cpython-35.opt-1.pyc | File | 2544 bytes | May 31 2024 13:51:47. | |
popen_forkserver.cpython-35.opt-2.pyc | File | 2528 bytes | May 31 2024 13:51:30. | |
popen_forkserver.cpython-35.pyc | File | 2544 bytes | May 31 2024 13:51:52. | |
popen_spawn_posix.cpython-35.opt-1.pyc | File | 2315 bytes | May 31 2024 13:51:47. | |
popen_spawn_posix.cpython-35.opt-2.pyc | File | 2299 bytes | May 31 2024 13:51:30. | |
popen_spawn_posix.cpython-35.pyc | File | 2315 bytes | May 31 2024 13:51:52. | |
popen_spawn_win32.cpython-35.opt-1.pyc | File | 2993 bytes | May 31 2024 13:51:47. | |
popen_spawn_win32.cpython-35.opt-2.pyc | File | 2894 bytes | May 31 2024 13:51:30. | |
popen_spawn_win32.cpython-35.pyc | File | 3060 bytes | May 31 2024 13:51:52. | |
process.cpython-35.opt-1.pyc | File | 8095 bytes | May 31 2024 13:51:47. | |
process.cpython-35.opt-2.pyc | File | 7027 bytes | May 31 2024 13:51:30. | |
process.cpython-35.pyc | File | 8827 bytes | May 31 2024 13:51:52. | |
queues.cpython-35.opt-1.pyc | File | 9712 bytes | May 31 2024 13:51:47. | |
queues.cpython-35.opt-2.pyc | File | 9696 bytes | May 31 2024 13:51:30. | |
queues.cpython-35.pyc | File | 9806 bytes | May 31 2024 13:51:52. | |
reduction.cpython-35.opt-1.pyc | File | 7710 bytes | May 31 2024 13:51:47. | |
reduction.cpython-35.opt-2.pyc | File | 7038 bytes | May 31 2024 13:51:30. | |
reduction.cpython-35.pyc | File | 7765 bytes | May 31 2024 13:51:52. | |
resource_sharer.cpython-35.opt-1.pyc | File | 5595 bytes | May 31 2024 13:51:47. | |
resource_sharer.cpython-35.opt-2.pyc | File | 5145 bytes | May 31 2024 13:51:30. | |
resource_sharer.cpython-35.pyc | File | 5634 bytes | May 31 2024 13:51:52. | |
semaphore_tracker.cpython-35.opt-1.pyc | File | 3682 bytes | May 31 2024 13:51:47. | |
semaphore_tracker.cpython-35.opt-2.pyc | File | 3360 bytes | May 31 2024 13:51:30. | |
semaphore_tracker.cpython-35.pyc | File | 3722 bytes | May 31 2024 13:51:52. | |
sharedctypes.cpython-35.opt-1.pyc | File | 7413 bytes | May 31 2024 13:51:47. | |
sharedctypes.cpython-35.opt-2.pyc | File | 7156 bytes | May 31 2024 13:51:30. | |
sharedctypes.cpython-35.pyc | File | 7488 bytes | May 31 2024 13:51:52. | |
spawn.cpython-35.opt-1.pyc | File | 7003 bytes | May 31 2024 13:51:47. | |
spawn.cpython-35.opt-2.pyc | File | 6508 bytes | May 31 2024 13:51:30. | |
spawn.cpython-35.pyc | File | 7052 bytes | May 31 2024 13:51:52. | |
synchronize.cpython-35.opt-1.pyc | File | 11954 bytes | May 31 2024 13:51:47. | |
synchronize.cpython-35.opt-2.pyc | File | 11938 bytes | May 31 2024 13:51:30. | |
synchronize.cpython-35.pyc | File | 12275 bytes | May 31 2024 13:51:52. | |
util.cpython-35.opt-1.pyc | File | 10248 bytes | May 31 2024 13:51:47. | |
util.cpython-35.opt-2.pyc | File | 9528 bytes | May 31 2024 13:51:30. | |
util.cpython-35.pyc | File | 10386 bytes | May 31 2024 13:51:52. |
��Yf� � @ s� d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l m Z d d l m Z d d d g Z Gd d � d e � Z e � Z e j Z e j Z e j Z e j Z d d � Z d S)� N� )�spawn)�util�ensure_running�register� unregisterc @ sX e Z d Z d d � Z d d � Z d d � Z d d � Z d d � Z d d � Z d S)�SemaphoreTrackerc C s t j � | _ d | _ d S)N)� threadingZLock�_lock�_fd)�self� r �F/opt/alt/python35/lib64/python3.5/multiprocessing/semaphore_tracker.py�__init__ s zSemaphoreTracker.__init__c C s | j � | j S)N)r r )r r r r �getfd! s zSemaphoreTracker.getfdc C s | j �� | j d k r d Sg } y | j t j j � � Wn t k rQ Yn Xd } t j � \ } } z yW | j | � t j � } | g t j � } | d | | g 7} t j | | | � Wn t j | � � Yn X| | _ Wd t j | � XWd QRXd S)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.Nz;from multiprocessing.semaphore_tracker import main;main(%d)z-c)r r �append�sys�stderr�fileno� Exception�os�piper Zget_executabler Z_args_from_interpreter_flagsZspawnv_passfds�close)r Zfds_to_pass�cmd�r�wZexe�argsr r r r % s* zSemaphoreTracker.ensure_runningc C s | j d | � d S)z2Register name of semaphore with semaphore tracker.ZREGISTERN)�_send)r �namer r r r C s zSemaphoreTracker.registerc C s | j d | � d S)z4Unregister name of semaphore with semaphore tracker.Z UNREGISTERN)r )r r r r r r G s zSemaphoreTracker.unregisterc C st | j � d j | | � j d � } t | � d k rC t d � � t j | j | � } | t | � k sp t � d S)Nz{0}:{1} �asciii z name too long) r �format�encode�len� ValueErrorr �writer �AssertionError)r r r �msg�nbytesr r r r K s zSemaphoreTracker._sendN) �__name__� __module__�__qualname__r r r r r r r r r r r s r c - C s� t j t j t j � t j t j t j � x= t j t j f D]) } y | j � Wq? t k rg Yq? Xq? Wt � } z� t | d � �� } x� | D]� } yg | j � j d � \ } } | d k r� | j | � n, | d k r� | j | � n t d | � � Wq� t k r4y t j t j � � Wn Yn XYq� Xq� WWd QRXWd | rzy t j d t | � � Wn t k ryYn Xxu | D]m } zc | j d � } y t j | � Wn<