The ReadWriteMap class must correctly provide access to a Map object across multiple threads, but mistakes
were made during implementation. Find them and fix them.
ReentrantReadWriteLock
- 9
Locked
Comments (1)
- Popular
- New
- Old
You must be signed in to leave a comment
Justin Smith
5 May 2022, 11:14
ReadWriteLock is an interesting one. Instead of simply locking down an object for all types of access, the ReadWriteLock class provides a way where an object can be locked for writing but still open for reading.
0