Uploaded image for project: 'Apache Curator'
  1. Apache Curator
  2. CURATOR-316

getQueuedThreads for InterProcessMutex

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • awaiting-response
    • None
    • None

    Description

      We need store InterProcessMutex (so that it can be used for Reentrant) in a map when we acquire a lock and remove it when we release it.
      It good to have function getQueuedThreads which will return the number of threads waiting to acquire this lock.
      Once should not remove the lock from the map if other there are waiting threads to acquire the same lock.

      Attachments

        Activity

          People

            randgalt Jordan Zimmerman
            puru Purshotam Shah
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: