| Server IP : 54.37.205.81 / Your IP : 216.73.216.76 Web Server : nginx/1.22.1 System : Linux vps-249481fa 6.1.0-50-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.176-1 (2026-07-02) x86_64 User : debian ( 1000) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/tornado/__pycache__/ |
Upload File : |
�
��b�1 � �> � d Z ddlZddlZddlZddlZddlZddlZddlmZ ddl m
Z
mZmZ ddl
mZ ddlmZ ddlmZ ddlZddlmZmZmZ ej rdd lmZ ej Zd
efd�Zdd�Zda dd
ee dee d
efd�Zd
ee fd�Z G d� de � � Z!dS )z�Utilities for working with multiple processes, including both forking
the server into multiple processes and managing subprocesses.
� N)�hexlify)�Future�"future_set_result_unless_cancelled�%future_set_exception_unless_cancelled)�ioloop)�PipeIOStream)�gen_log)�Optional�Any�Callable)�List�returnc �� � t �dS t j � � S # t $ r Y nw xY w t j d� � S # t
t f$ r Y nw xY wt j d� � dS )z1Returns the number of processors on this machine.N� �SC_NPROCESSORS_CONFz1Could not detect number of processors; assuming 1) �multiprocessing� cpu_count�NotImplementedError�os�sysconf�AttributeError�
ValueErrorr �error� � �1/usr/lib/python3/dist-packages/tornado/process.pyr r 0 s� � ����q�
��(�*�*�*���
�
�
���
����
��z�/�0�0�0���J�'�
�
�
���
�����M�E�F�F�F��1s � �
+�+�A �A�Ac �H � dt j vrd S dd l} t t t j d� � � � d� � }nG# t $ r: t t j � � dz � � t j � � z }Y nw xY w| �
|� � d S )N�randomr � i� )�sys�modulesr �intr r �urandomr �time�getpid�seed)r r&