apache / apache/curator

[CURATOR-316] getQueuedThreads for InterProcessMutex

Open
#836 1 comment 0 reactions 0 assignees View on GitHub
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


  • assignee: randgalt
  • status: Open
  • priority: Major
  • resolution: Unresolved
  • imported: 2025-01-21

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.