Function rmw_zenoh_cpp::zenoh_shm_alloc_size
Defined in File zenoh_config.hpp
Function Documentation
-
size_t rmw_zenoh_cpp::zenoh_shm_alloc_size()
============================================================================= Get the amount of shared memory to be pre-allocated for Zenoh SHM operation based on the environment variable ZENOH_SHM_ALLOC_SIZE.
The behavior is as follows:
If not set or <= 0, the default value of 16MB is returned.
Else value of environemnt variable is returned.
- Returns:
The amount of shared memory to be pre-allocated for Zenoh SHM operation