class LockWorker: (source)
Implements interfaces: twisted._threads._ithreads.IExclusiveWorker
IWorker implemented based on a mutual-exclusion lock.| Method | __init__ |
|
| Method | do |
Do the given work on this thread, with the mutex acquired. If this is called re-entrantly, return and wait for the outer invocation to do the work. |
| Method | quit |
Quit this LockWorker. |
| Instance Variable | _local |
Undocumented |
| Instance Variable | _lock |
Undocumented |
| Instance Variable | _quit |
Undocumented |
| Parameters | |
lock:threading.Lock | A mutual-exclusion lock, with acquire and release methods. |
local:threading.local | Local storage. |