协程和并发
优质
小牛编辑
139浏览
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
- Classes
tornado.process
— Utilities for multiple processes