Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
We need to add IgniteReentrantReadWriteLock data structure in addition to other data structures provided by Ignite. IgniteReentrantReadWriteLock should have similar API to java.util.concurrent.locks.ReentrantReadWriteLock class in JDK.
As an example, you can see how IgniteCountDownLatch is implemented in GridCacheCountDownLatchImpl class.
In general we need to have an entity in ATOMIC cache storing number of readers and writers and allow user threads to block whenever needed to wait for a lock.
Attachments
Issue Links
- duplicates
-
IGNITE-9 Need to implement IngniteReentrantReadWriteLock
- Open