You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@curator.apache.org by "Purshotam Shah (JIRA)" <ji...@apache.org> on 2016/04/12 20:15:25 UTC
[jira] [Created] (CURATOR-316) getQueuedThreads for
InterProcessMutex
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)