|
CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
|
Template implementations of the GenericMemoryMap shared-map algorithms. More...
#include "Utils.h"Go to the source code of this file.
Namespaces | |
| namespace | cmlabs |
Template implementations of the GenericMemoryMap shared-map algorithms.
Included at the bottom of MemoryMaps.h and DataMapsMemory.h so the template bodies are visible wherever the maps are instantiated. The algorithms operate directly on raw mapped map regions: a GenericMapHeader, an occupancy bitfield, then fixed-size entries. Callers are responsible for holding the owning segment's cross-process mutex.
Typical two-phase usage (caller holds the segment mutex; data is the raw mapped map region starting with a GenericMapHeader):
Definition in file MemoryMaps.tpl.h.