curator-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jordan Zimmerman (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CURATOR-316) getQueuedThreads for InterProcessMutex
Date Sun, 08 May 2016 18:31:12 GMT

     [ https://issues.apache.org/jira/browse/CURATOR-316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jordan Zimmerman updated CURATOR-316:
-------------------------------------
    Fix Version/s: awaiting-response

> 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)

Mime
View raw message