Skip to content

mulle-core/mulle-mmapallocator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

21 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

mulle-mmapallocator

๐ŸŒ mulle-mmapallocator a mulle-allocator that shared memory

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
Mulle kybernetiK tag Build Status RELEASENOTES

You are here

Overview

Add

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.

Add as an individual component

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.

Install

Install with mulle-sde

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

Manual Installation

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

Author

Nat! for Mulle kybernetiK

About

๐ŸŒ mulle-mmapallocator a mulle-allocator that shared memory

Resources

License

Stars

Watchers

Forks

Packages

No packages published