Function rmw_zenoh_cpp::zenoh_shm_message_size_threshold
Defined in File zenoh_config.hpp
Function Documentation
-
size_t rmw_zenoh_cpp::zenoh_shm_message_size_threshold()
============================================================================= Message size threshold for implicit SHM optimization based on the environment variable ZENOH_SHM_MESSAGE_SIZE_THRESHOLD. Messages smaller than this threshold will not be forwarded through Zenoh SHM
The behavior is as follows:
If not set or <= 0, the default value of 512B is returned.
Else value of environemnt variable is returned.
- Returns:
The amount of shared memory to be pre-allocated for Zenoh SHM operation