Java / Java Multithreading
Difference between ReadLock and WriteLock in Java ReentrantReadWriteLock.
When a thread acquires a WriteLock, no other thread can acquire the ReadLock nor the WriteLock of the same instance of ReentrantReadWriteLock, unless that thread releases the lock. However, multiple threads can acquire the ReadLock at the same time.
More Related questions...