shared_memory icon indicating copy to clipboard operation
shared_memory copied to clipboard

Add support for read-only mapping

Open phil-opp opened this issue 2 years ago • 2 comments

This is for example useful for a producer/consumer use-case, where the consumer is not permitted to modify the data.

phil-opp avatar Apr 13 '23 09:04 phil-opp

What do you think about adding an assert!(self.config.writable) to Shmem::as_slice_mut?

phil-opp avatar Apr 13 '23 09:04 phil-opp

@elast0ny Friendly ping :)

phil-opp avatar May 31 '23 07:05 phil-opp