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 ReadRWLock object. |
| Instance Variable | rw |
ReadWriteLock object. |
Context Manager method to enter the block.
This acquires a read lock. Blocks only if a thread has acquired the write lock.
| Returns | |
ReadRWLock | A ReadRWLock context manager object. |