Module mmap

Source

Structs§

ExternalMapping
MemoryMapping
See MemoryMapping for struct- and method-level documentation.
MemoryMappingBuilder
Protection
Memory access type for anonymous shared memory mapping.

Enums§

Error

Statics§

CACHELINE_SIZE 🔒

Traits§

MappedRegion
A range of memory that can be msynced, for abstracting over different types of memory mappings.

Functions§

flush_one 🔒
get_cacheline_size 🔒
Returns the system’s effective cacheline size (e.g. the granularity at which arch-specific cacheline management, such as with the clflush instruction, is expected to occur).
get_cacheline_size_once 🔒

Type Aliases§

Result