Heap

API for doing dynamic memory allocation.

Description

This provides malloc()/free() functionality with locking. The shared resource heap needs to be protected from concurrent access when OS has been started. os_malloc() function grabs a mutex before calling malloc().

API

Warning

doxygengroup: Cannot find namespace “OSMalloc” in doxygen xml output for project “mynewt-core” from directory: mynewt-core-xml