| Server IP : 217.160.0.135 / Your IP : 216.73.217.37 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/zmq/eventloop/minitornado/platform/__pycache__/ |
Upload File : |
�
mc�c� � �D � d Z ddlmZmZmZmZ d� Z G d� de� � ZdS )z�Interfaces for platform-specific functionality.
This module exists primarily for documentation purposes and as base classes
for other tornado.platform modules. Most code should import the appropriate
implementation from `tornado.platform.auto`.
� )�absolute_import�division�print_function�with_statementc � � t � � �)zASets the close-on-exec bit (``FD_CLOEXEC``)for a file descriptor.��NotImplementedError)�fds �N/usr/lib/python3/dist-packages/zmq/eventloop/minitornado/platform/interface.py�set_close_execr s � �
�
�
�� c �0 � e Zd ZdZd� Zd� Zd� Zd� Zd� ZdS )�Wakera� A socket-like object that can wake another thread from ``select()``.
The `~tornado.ioloop.IOLoop` will add the Waker's `fileno()` to
its ``select`` (or ``epoll`` or ``kqueue``) calls. When another
thread wants to wake up the loop, it calls `wake`. Once it has woken
up, it will call `consume` to do any necessary per-wake cleanup. When
the ``IOLoop`` is closed, it closes its waker too.
c � � t � � �)z�Returns the read file descriptor for this waker.
Must be suitable for use with ``select()`` or equivalent on the
local platform.
r ��selfs r �filenozWaker.fileno) s � � "�#�#�#r
c � � t � � �)z1Returns the write file descriptor for this waker.r r s r �write_filenozWaker.write_fileno1 � � �!�#�#�#r
c � � t � � �)z1Triggers activity on the waker's file descriptor.r r s r �wakez
Waker.wake5 r r
c � � t � � �)zACalled after the listen has woken up to do any necessary cleanup.r r s r �consumez
Waker.consume9 r r
c � � t � � �)z&Closes the waker's file descriptor(s).r r s r �closezWaker.close= r r
N) �__name__�
__module__�__qualname__�__doc__r r r r r � r
r r r si � � � � � �� �$� $� $�$� $� $�$� $� $�$� $� $�$� $� $� $� $r
r N) r �
__future__r r r r r �objectr r! r
r �<module>r$ sy ��"� � Q� P� P� P� P� P� P� P� P� P� P� P� � � �
$� $� $� $� $�F� $� $� $� $� $r