Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-637

Implement IgniteReentrantReadWriteLock data structure

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: data structures
    • Labels:
      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

            Activity

              People

              • Assignee:
                Alexey Kuznetsov Alexey Kuznetsov
                Reporter:
                dsetrakyan Dmitriy Setrakyan
              • Votes:
                1 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: