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

Implement IgniteReentrantReadWriteLock data structure

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • data structures
    • 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

              Alexey Kuznetsov Alexey Kuznetsov
              dsetrakyan Dmitriy Setrakyan
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: