twisted.python.threadable._XLock

Package twisted :: Package python :: Module threadable :: Class _XLock |
[frames | no frames]

## Class _XLock

Exclusive lock class. The advantage of this over threading.RLock is that it's picklable (kinda...). The goal is to one day not be dependent upon threading, and to have this work for any old 'thread'

Method Summary
| `__init__(self)`
| `__getstate__(self)`
| `__setstate__(self, state)`
| `acquire(self)`
| `release(self)`
| `withThisLocked(self, func, *args, **kw)`

Generated by Epydoc 2.0 on Sat May 15 20:08:36 2004 | http://epydoc.sf.net