zenoh
zenoh copied to clipboard
SHM: Buffer type API
Describe the feature
We already start getting questions like this: https://discord.com/channels/914168414178779197/1222489180396064898
From fundamental perspective, I don't like the idea of giving users API to determine the buffer type, as it opens them a way to write configuration-dependent code.
From engineering perspective, it might be useful for some cases if used wisely. The SHM subsystem is so transparent, that it is not clear for the user if it is properly configured and works.
@Mallets tagging you here
This is addressed in the new SHM API in https://github.com/eclipse-zenoh/zenoh/tree/dev/1.0.0. See: https://github.com/eclipse-zenoh/zenoh/blob/73961dd87b66f16160526385d614b53e24422fec/examples/examples/z_sub_shm.rs#L43
@Mallets yes, this issue is old and outdated