Part of twisted.internet.defer View Source View In Hierarchy
Method | __init__ | Undocumented |
Method | acquire | Attempt to acquire the token. |
Method | release | Release the token. |
Inherited from _ConcurrencyPrimitive:
Method | run | Acquire, run, release. |
Method | _releaseAndReturn | Undocumented |
Returns | a Deferred which fires on token acquisition. |
Release the token.
Should be called by whoever did the acquire() when the shared resource is free.