Python 轮询已断开、轮询已进入、轮询已退出和取消之间的差异

Python 轮询已断开、轮询已进入、轮询已退出和取消之间的差异,python,linux,multithreading,posix,Python,Linux,Multithreading,Posix,我正在调试python应用程序 from twisted.internet import reactor threadpool = reactor.getThreadPool() 鉴于: _POLL_DISCONNECTED = 24 _POLL_IN = 1 _POLL_OUT = 22 _cancellations = 100 这个常数或参数是什么意思?它们来自POSIX吗?取消是什么意思

我正在调试python应用程序

    from twisted.internet import reactor
    threadpool = reactor.getThreadPool()
鉴于:

_POLL_DISCONNECTED = 24 
_POLL_IN = 1
_POLL_OUT = 22
_cancellations = 100
这个常数或参数是什么意思?它们来自POSIX吗?取消是什么意思