eclipse-iceoryx / iceoryx2

Eclipse iceoryx2™ - true zero-copy inter-process-communication in pure Rust
https://iceoryx.io
Apache License 2.0
1.03k stars 40 forks source link

Introduce `SlotMap` to manage multiple shared memory data segments #504

Closed elfenpiff closed 2 days ago

elfenpiff commented 2 weeks ago

Brief feature description

To enable the publisher to have multiple data segments, we need to add the data segment id to the pointer. This only works when the segment id is static. A SlotMap is the ideal container to store things with static id's to access/manage them.