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

Abstract interface that lets subsystem memories query/update their segment's id, size and resize serial. More...

#include "Types.h"
Include dependency graph for MemoryController.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  cmlabs::MemoryController
 Pure-virtual interface for shared-segment bookkeeping (implemented by MasterMemory). More...

Namespaces

namespace  cmlabs

Detailed Description

Abstract interface that lets subsystem memories query/update their segment's id, size and resize serial.

Subsystem memories (e.g. TemporalMemory) do not talk to the master segment directly; they hold a MemoryController pointer (in practice a MasterMemory) through which they read the current segment size, and read/bump the resize serial that tells all attached processes when a segment has been re-created and must be re-mapped.

Definition in file MemoryController.h.