Purshotam Shah created CURATOR-316:
--------------------------------------
Summary: getQueuedThreads for InterProcessMutex
Key: CURATOR-316
URL: https://issues.apache.org/jira/browse/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
(v6.3.4#6332)