Commit 140d88fc authored by Denis Bilenko's avatar Denis Bilenko

coros: add __all__

parent 0aa10145
......@@ -7,6 +7,9 @@ from gevent.hub import get_hub, getcurrent
from gevent.timeout import Timeout
__all__ = ['Semaphore', 'DummySemaphore', 'BoundedSemaphore', 'RLock']
class Semaphore(object):
"""A semaphore manages a counter representing the number of release() calls minus the number of acquire() calls,
plus an initial value. The acquire() method blocks if necessary until it can return without making the counter
......
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