Skip to content

Implement rigorous locking in HiveWhiteBoard

Gerhard Raven requested to merge graven/Gaudi:rigorous_hivewb into master
  • Hide data to-be-protected inside a Synced template which guarantees locking prior to access, and which provides an explicit scope for the lock.
  • Replace _CALL macro with a fwd function which forwards the argument to the current Partition. Automatically obtain the relevent service from the Partition (including locking) and then invoke the callback.
  • Provide a generic for_ which calls the provided callback for each Partition, after locking it.
Edited by Gerhard Raven

Merge request reports