Part of bzrlib.tests.lock_helpers View In Hierarchy
This also lets us record what objects were locked in what order, to ensure that locking happens correctly.
| Method | __init__ | Wrap a locking policy around a given object. |
| Method | __eq__ | Undocumented |
| Method | __getattr__ | Undocumented |
| Method | __setattr__ | Undocumented |
| Method | lock_read | Undocumented |
| Method | lock_write | Undocumented |
| Method | unlock | Undocumented |
| Method | disable_lock_read | Make a lock_read call fail |
| Method | disable_unlock | Make an unlock call fail |
| Method | disable_lock_write | Make a lock_write call fail |