| 44 | |
| 45 | |
| 46 | class NoOpLock(locking.Lock): |
| 47 | def __init__(self, name="noop"): |
| 48 | super(NoOpLock, self).__init__(name=name) |
| 49 | |
| 50 | def acquire(self, blocking=True): |
| 51 | return True |
| 52 | |
| 53 | def release(self): |
| 54 | return True |
| 55 | |
| 56 | def heartbeat(self): |
| 57 | return True |
| 58 | |
| 59 | |
| 60 | class NoOpAsyncResult(object): |