[ 
https://issues.apache.org/jira/browse/CURATOR-316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15275664#comment-15275664
 ] 

Jordan Zimmerman commented on CURATOR-316:
------------------------------------------

Please provide a PR with the proposed solution.

> 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
>             Fix For: awaiting-response
>
>
> 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)

Reply via email to