CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
Loading...
Searching...
No Matches
ComponentMemory.cpp File Reference

Implementation of the shared component registry: record allocation/relocation, parameters, private data, stats and migration support. More...

#include "ComponentMemory.h"
#include "UnitTestFramework.h"
Include dependency graph for ComponentMemory.cpp:

Go to the source code of this file.

Namespaces

namespace  cmlabs

Functions

void cmlabs::Register_ComponentMemory_Tests ()

Detailed Description

Implementation of the shared component registry: record allocation/relocation, parameters, private data, stats and migration support.

All writes happen under the segment's named cross-process mutex; record growth may relocate entries and rewrite the offset index, which is why only offsets are stored in shared memory.

Definition in file ComponentMemory.cpp.