|
SmartSnippets DA1459x SDK
|
Message queue content allocator. More...
#include <msg_queues.h>
Data Fields | |
| MSG_ALLOC | content_alloc |
| MSG_FREE | content_free |
Message queue content allocator.
Content allocator consist of two functions that will allocate and release memory needed by messages in cases when data needs to be copied from sender to receiver. Allocator will be associated with msg_queue so user can initialize messages using correct allocation functions. Those functions will be used when user calls msg_queue_send() function.
If CONFIG_MSG_QUEUE_USE_ALLOCATORS is not defined queues will not have dedicated allocators. In this case MSG_QUEUE_MALLOC and MSG_QUEUE_FREE macros will be used to allocate and free memory.
| MSG_ALLOC content_allocator::content_alloc |
Pointer to allocate memory function
| MSG_FREE content_allocator::content_free |
Pointer to free memory function
1.8.16