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 |
---|---|
RELEASENOTES |
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-mmapallocator
To only add the sources of mulle-mmapallocator with dependency sources use clib:
clib install --out src/mulle-core mulle-core/mulle-mmapallocator
Add -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.gz
Install 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:
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr/local \
-DCMAKE_PREFIX_PATH=/usr/local \
-DCMAKE_BUILD_TYPE=Release &&
cmake --build build --config Release &&
cmake --install build --config Release
Nat! for Mulle kybernetiK