curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Purshotam Shah (JIRA)" <>
Subject [jira] [Created] (CURATOR-316) getQueuedThreads for InterProcessMutex
Date Tue, 12 Apr 2016 18:15:25 GMT
Purshotam Shah created CURATOR-316:

             Summary: getQueuedThreads for InterProcessMutex
                 Key: CURATOR-316
             Project: Apache Curator
          Issue Type: Bug
            Reporter: Purshotam Shah
            Assignee: Jordan Zimmerman

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.

This message was sent by Atlassian JIRA

View raw message