curator icon indicating copy to clipboard operation
curator copied to clipboard

[CURATOR-598] InterProcessSemaphoreV2::getData to check against data changes on the semaphore

Open jira-importer opened this issue 4 years ago • 0 comments

InterProcessSemaphoreV2 allows holders to set data on the acquired lease: exposing an Optional getData would allow an observer to check against mutex state change despite not being the lock owner (assuming owner has used setData prior a mutex acquisition).
This can be used to weakly enforce order of mutex acquisition or just check owner's identity and/or presence (assuming owner setData prior a mutex acquisition).


Originally reported by nigrofranz, imported from: InterProcessSemaphoreV2::getData to check against data changes on the semaphore
  • status: Open
  • priority: Major
  • resolution: Unresolved
  • imported: 2025-01-21

jira-importer avatar Jun 20 '21 16:06 jira-importer