Skip to content

Commit 0c6e631

Browse files
authored
Add persistent (duplicable) variants of GhostSubmap/GhostSubset (#2019)
Currently, `GhostMapAuth` (resp. `GhostSetAuth`) only give out exclusive access to a submap. It is generally useful to have non-exclusive access to some subset of keys, by persisting the submap (i.e., after it's persisted, it can never be removed/updated). This allows for a duplicable resource asserting knowledge of a subset of values in the Map (resp. Set). * ghost_map: extend resource algebra to allow for duplicable maps * ghost_map: add persistent, duplicable variants of `GhostSubmap` and `GhostPointsTo` * ghost_set: add persistent, duplicable variants of `GhostSubset` and `GhostSingleton`
1 parent ca815ab commit 0c6e631

File tree

2 files changed

+1311
-150
lines changed

2 files changed

+1311
-150
lines changed

0 commit comments

Comments
 (0)