class documentation
Context Manager class for ReadWriteLock.
| Method | __enter__ |
Context Manager method to enter the block. |
| Method | __exit__ |
Context Manager method to exit the block. |
| Method | __init__ |
Initialize the WriteRWLock object. |
| Instance Variable | rw |
ReadWriteLock object. |
Context Manager method to enter the block.
This acquires a write lock. Blocks until there are no acquired read or write locks.
| Returns | |
WriteRWLock | A WriteRWLock context manager object. |