curator icon indicating copy to clipboard operation
curator copied to clipboard

[CURATOR-316] getQueuedThreads for InterProcessMutex

Open jira-importer opened this issue 9 years ago • 1 comments

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

jira-importer avatar Apr 12 '16 18:04 jira-importer

randgalt:

Please provide a PR with the proposed solution.

jira-importer avatar May 08 '16 18:05 jira-importer