Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.6
Description
We need to add IgniteReentrantLock data structure in addition to other data structures provided by Ignite. IgniteReentrantLock should have similar API to java.util.concurrent.locks.ReentrantLock 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 lock-owner identifier together with a queue of waiters.