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

uses the heap to allocate memory for internal data-structures. With a few exceptions, does not return memory to the heap. Instead, 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.9 Copyright © Thu Dec 15 2016 Real-Time Innovations, Inc