mulle-mmapallocator can be used to create memory allocations shared across process boundaries. Due to cross-platform considerations, the memory to be shared with the other processes must be pre-allocated at initialization time.
mulle-mmapallocator can also be used to create a separate allocation space, which can then easily be reclaimed by destroying the allocator.
| Release Version | Release Notes | AI Documentation |
|---|---|---|
| RELEASENOTES | DeepWiki for mulle-mmapallocator |
This project is a component of the mulle-core library. As such you usually will not add or install it
individually, unless you specifically do not want to link against
mulle-core.
Use mulle-sde to add mulle-mmapallocator to your project:
mulle-sde add github:mulle-core/mulle-mmapallocatorTo only add the sources of mulle-mmapallocator with dependency sources use clib:
clib install --out src/mulle-core mulle-core/mulle-mmapallocatorAdd -isystem src/mulle-core to your CFLAGS and compile all the sources that were downloaded with your project.
Use mulle-sde to build and install mulle-mmapallocator and all dependencies:
mulle-sde install --prefix /usr/local \
https://github.com/mulle-core/mulle-mmapallocator/archive/latest.tar.gzInstall the requirements:
| Requirements | Description |
|---|---|
| mulle-mmap | ๐ง๐ฟ Memory mapped file access |
| mulle-allocator | ๐ Flexible C memory allocation scheme |
Download the latest tar or zip archive and unpack it.
Install mulle-mmapallocator into /usr/local with cmake:
PREFIX_DIR="/usr/local"
cmake -B build \
-DMULLE_SDK_PATH="${PREFIX_DIR}" \
-DCMAKE_INSTALL_PREFIX="${PREFIX_DIR}" \
-DCMAKE_PREFIX_PATH="${PREFIX_DIR}" \
-DCMAKE_BUILD_TYPE=Release &&
cmake --build build --config Release &&
cmake --install build --config ReleaseNat! for Mulle kybernetiK