💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、豆包、星火、月之暗面及文生图、文生视频 广告
### Navigation - [index](# "General Index") - [modules](# "Python Module Index") | - [next](# "tornado.gen — Simplify asynchronous code") | - [previous](# "tornado.tcpserver — Basic IOStream-based TCP server") | - [Tornado 4.4.dev1 documentation](#) » # Coroutines and concurrency - [`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](#) © Copyright 2009-2016, The Tornado Authors. Created using [Sphinx](http://sphinx-doc.org/) 1.3.5.