Commit 88fd3095 authored by Denis Bilenko's avatar Denis Bilenko

pool: add __doc__

parent 720e2cb9
# Copyright (c) 2009-2010 Denis Bilenko. See LICENSE for details. # Copyright (c) 2009-2010 Denis Bilenko. See LICENSE for details.
"""Utilities for managing greenlets in a group.
The :class:`Group` class in this module abstracts a group of running greenlets.
When a greenlet dies, it's automatically removed from the group.
The :class:`Pool` which a subclass of :class:`Group` provides a way to limit
concurrency: its :meth:`spawn <Pool.spawn>` blocks if the number of greenlets
in the pool would exceed the limit.
"""
from gevent.hub import GreenletExit, getcurrent from gevent.hub import GreenletExit, getcurrent
from gevent.greenlet import joinall, Greenlet from gevent.greenlet import joinall, Greenlet
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment