[CURATOR-316] getQueuedThreads for InterProcessMutex
Open
bug
imported-jira-issue
- Dominant language
- Java
- Stars
- 3.2k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
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.
---
Originally reported by puru, imported from: getQueuedThreads for InterProcessMutex
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.