当前位置: 首页 > 文档资料 > Tornado 用户手册 >

协程和并发

优质
小牛编辑
141浏览
2023-12-01
  • tornado.gen — Simplify asynchronous code
    • Decorators
    • Utility functions
    • Legacy interface
  • tornado.concurrent — Work with threads and futures
    • Consumer methods
    • Producer methods
  • tornado.locks – Synchronization primitives
    • Condition
    • Event
    • Semaphore
    • BoundedSemaphore
    • Lock
  • tornado.queues – Queues for coroutines
    • Classes
      • Queue
      • PriorityQueue
      • LifoQueue
    • Exceptions
      • QueueEmpty
      • QueueFull
  • tornado.process — Utilities for multiple processes