代码之家  ›  专栏  ›  技术社区  ›  RudziankoÅ­

poll_disconnected、poll_in、poll_out和cancellations之间的差异

  •  1
  • RudziankoÅ­  · 技术社区  · 5 年前

    我正在调试 twisted python应用程序

        from twisted.internet import reactor
        threadpool = reactor.getThreadPool()
    

    看到这一点:

    _POLL_DISCONNECTED = 24 
    _POLL_IN = 1
    _POLL_OUT = 22
    _cancellations = 100
    

    这个常数或参数意味着什么?它们来自POSIX吗?取消是什么意思?

    0 回复  |  直到 5 年前