Part of twisted.internet.defer View Source View In Hierarchy
A lock for event driven systems.
API stability: Unstable| 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. |
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 718 | Method | acquire | Attempt to acquire the lock. |
| 731 | Method | release | Release the lock. |
Inherited from _ConcurrencyPrimitive:
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 668 | Method | __init__ | Undocumented |
| 671 | Method | _releaseAndReturn | Undocumented |
| 675 | Method | run | Acquire, run, release. |