/usr/lib/python3/dist-packages/twisted/internet/__pycache__
Edit: /usr/lib/python3/dist-packages/twisted/internet/__pycache__/kqreactor.cpython-310.pyc (8582B)
o
¯bB* ã
@ s d Z ddlZddlZddlmZmZmZmZ ddlm Z m
Z
ddlmZm
Z
ddlmZmZ zeedƒZeedƒZeed ƒZeed
ƒZeedƒZW n eyY Z zeeƒ‚dZ[ww G dd
„ d
eƒZe ee¡ ee
eƒG dd„ de
jƒƒZdd„ ZddgZdS )am
A kqueue()/kevent() based implementation of the Twisted main loop.
To use this reactor, start your application specifying the kqueue reactor::
twistd --reactor kqueue ...
To install the event loop from code (and you should do this before any
connections, listeners or connectors are added)::
from twisted.internet import kqreactor
kqreactor.install()
é N)Ú AttributeÚ InterfaceÚdeclarationsÚimplementer)ÚmainÚ posixbase)ÚIReactorDaemonizeÚ
IReactorFDSet)ÚfailureÚlogÚ KQ_EV_ADDÚKQ_EV_DELETEÚ KQ_EV_EOFÚKQ_FILTER_READÚKQ_FILTER_WRITEc @ s e Zd ZdZedƒZedƒZdS )Ú_IKQueuez2
An interface for KQueue implementations.
zAn implementation of kqueue(2).zAn implementation of kevent(2).N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r ÚkqueueÚkevent© r r ú