Part of twisted.internet.defer View Source View In Hierarchy
Split Table into Classes Show Methods in One Table
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 906 | Method | __init__ | Undocumented |
| 911 | Method | acquire | Attempt to acquire the token. |
| 925 | Method | release | Release the token. |
Inherited from _ConcurrencyPrimitive:
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 832 | Method | run | Acquire, run, release. |
| 828 | Method | _releaseAndReturn | Undocumented |
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 906 | Method | __init__ | Undocumented |
| 911 | Method | acquire | Attempt to acquire the token. |
| 925 | Method | release | Release the token. |
| 832 | Method | run | Acquire, run, release. |
| 828 | 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.