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.
 | 
| Method | acquire | Attempt to acquire the lock.  Returns a Deferred that 
fires on lock acquisition with the DeferredLock
as the value.  If the lock is locked, then the Deferred is placed at the 
end of a waiting list.
 | 
  
| Method | release | Release the lock.  If there is a waiting list, then the first Deferred in 
that waiting list will be called back.
 | 
  
Inherited from _ConcurrencyPrimitive:
| Method | __init__ | Undocumented | 
| Method | run | Acquire, run, release. | 
| Method | _releaseAndReturn | Undocumented | 
Deferred that 
fires on lock acquisition with the DeferredLock
as the value.  If the lock is locked, then the Deferred is placed at the 
end of a waiting list.
| Returns | a Deferred which
fires on lock acquisition.
 (type: a Deferred
) | |