RTI Connext DDS Micro  Version 2.4.10
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Heap Porting Guide

RTI Connext DDS Micro uses the heap to allocate memory for internal data-structures. With a few exceptions, RTI Connext DDS Micro does not return memory to the heap. Instead, RTI Connext DDS Micro uses internal pools to quickly allocate and free memory for specific types. Only the initial memory is allocated directly from the heap. The following functions must be ported:

However, if the OS and C library supports the standard malloc and free APIs define the following in the osapi_os_<port>.h file:

#define OSAPI_ENABLE_STDC_ALLOC   (1)
#define OSAPI_ENABLE_STDC_REALLOC (1)
#define OSAPI_ENABLE_STDC_FREE    (1)

Please refer to the OSAPI Heap API for definition of the behavior. The available source code contains implementation in the file:

osapi/<port>/<port>Heap.c


RTI Connext DDS Micro Version 2.4.10 Copyright © Fri Jun 30 2017 Real-Time Innovations, Inc