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

Implementation of MemoryManager, MasterMemory, PsycloneIndex and the legacy MemoryManagerX page allocator. More...

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

Go to the source code of this file.

Namespaces

namespace  cmlabs

Functions

THREAD_RET THREAD_FUNCTION_CALL cmlabs::MemoryManagement (THREAD_ARG arg)
 Background maintenance thread entry point for MemoryManager / MemoryManagerX.
void cmlabs::Register_MemoryManager_Tests ()

Detailed Description

Implementation of MemoryManager, MasterMemory, PsycloneIndex and the legacy MemoryManagerX page allocator.

Contains the segment creation/attachment logic, the background management thread (MemoryManagement) that expires end-of-life data, and the platform-specific shared memory calls (Windows named file mappings vs POSIX shm/mmap) behind the accessors declared in MemoryManager.h.

Definition in file MemoryManager.cpp.