Skip to main content

Module shared_mem

Module shared_mem 

Source
Expand description

POSIX shared memory allocation for cross-process data sharing.

Provides mmap(MAP_SHARED | MAP_ANONYMOUS) wrappers for allocating memory visible across fork() boundaries. This is the foundation for all cross-process state in the explorer.

Functions§

alloc_shared
Allocate shared memory visible across fork() boundaries.
free_shared
Free shared memory allocated by alloc_shared.