Part of twisted.internet.defer View Source View In Hierarchy
| Instance Variables | locked | True when this Lock has been acquired, false at all other times. Do not change this value, but it is useful to examine for the equivalent of a "non-blocking" acquisition. |
Split Table into Classes Show Methods in One Table
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 874 | Method | acquire | Attempt to acquire the lock. |
| 887 | Method | release | Release the lock. |
Inherited from _ConcurrencyPrimitive:
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 825 | Method | __init__ | Undocumented |
| 832 | Method | run | Acquire, run, release. |
| 828 | Method | _releaseAndReturn | Undocumented |
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 825 | Method | __init__ | Undocumented |
| 874 | Method | acquire | Attempt to acquire the lock. |
| 887 | Method | release | Release the lock. |
| 832 | Method | run | Acquire, run, release. |
| 828 | Method | _releaseAndReturn | Undocumented |
| Returns | a Deferred which fires on lock acquisition. | |
Release the lock.
Should be called by whomever did the acquire() when the shared resource is free.