Tornado
6.4.2
  • User’s guide
  • Web framework
  • HTTP servers and clients
  • Asynchronous networking
  • Coroutines and concurrency
    • tornado.gen — Generator-based coroutines
    • tornado.locks – Synchronization primitives
    • tornado.queues – Queues for coroutines
    • tornado.process — Utilities for multiple processes
  • Integration with other services
  • Utilities
  • Frequently Asked Questions
  • Release notes
Tornado
  • Coroutines and concurrency
  • View page source

Coroutines and concurrency¶

  • tornado.gen — Generator-based coroutines
    • Decorators
      • coroutine()
      • Return
    • Utility functions
      • with_timeout()
      • sleep()
      • WaitIterator
        • WaitIterator.done()
        • WaitIterator.next()
      • multi()
      • multi_future()
      • convert_yielded()
      • maybe_future()
      • is_coroutine_function()
      • moment
  • tornado.locks – Synchronization primitives
    • Condition
      • Condition
        • Condition.wait()
        • Condition.notify()
        • Condition.notify_all()
    • Event
      • Event
        • Event.is_set()
        • Event.set()
        • Event.clear()
        • Event.wait()
    • Semaphore
      • Semaphore
        • Semaphore.release()
        • Semaphore.acquire()
    • BoundedSemaphore
      • BoundedSemaphore
        • BoundedSemaphore.release()
        • BoundedSemaphore.acquire()
    • Lock
      • Lock
        • Lock.acquire()
        • Lock.release()
  • tornado.queues – Queues for coroutines
    • Classes
      • Queue
        • Queue
          • Queue.maxsize
          • Queue.qsize()
          • Queue.put()
          • Queue.put_nowait()
          • Queue.get()
          • Queue.get_nowait()
          • Queue.task_done()
          • Queue.join()
      • PriorityQueue
        • PriorityQueue
      • LifoQueue
        • LifoQueue
    • Exceptions
      • QueueEmpty
        • QueueEmpty
      • QueueFull
        • QueueFull
  • tornado.process — Utilities for multiple processes
    • CalledProcessError
    • cpu_count()
    • fork_processes()
    • task_id()
    • Subprocess
      • Subprocess.set_exit_callback()
      • Subprocess.wait_for_exit()
      • Subprocess.initialize()
      • Subprocess.uninitialize()
Previous Next

© Copyright The Tornado Authors.

Built with Sphinx using a theme provided by Read the Docs.