Skip to main content

Module memory

Module memory 

Source
Expand description

Common native shared-memory allocation, policy, and cleanup interface. Common lifecycle and policy interface for the best native shared-memory backend.

Structs§

NativeMemoryCapabilities
Cross-platform capabilities of the selected native backend.
NativeRegion
Common owner of the best private native shared-memory object on this target.
NativeShareRequest
Consuming boundary between common memory management and native transfer.
PermissionPlan
Exact creator/peer access requested for the future sharing transition.
RegionOptions
Immutable configuration for one native shared-memory region.
RegionStatus
Snapshot of a managed region’s portable state and policy.

Enums§

AuthorityMechanism
Kernel mechanism that freezes shared-memory authority before transfer.
CleanupPolicy
Cleanup policy applied while the common wrapper still owns the region.
GrowthPolicy
Capacity policy while a region is still private and quiescent.
MemoryAccess
Planned access for one endpoint after the sharing transition.
MemoryError
Portable allocation, policy, or lifecycle failure.
NativeArchitecture
Processor architecture selected for the native backend.
NativePlatform
Native backend selected for the compilation target.
RegionState
Current common lifecycle state.
SealPolicy
Mandatory authority-sealing policy for shared regions.
WriterOwner
Endpoint that will retain the sole writable mapping after transfer.

Functions§

native_memory_capabilities
Reports the native memory behavior selected for this target.

Type Aliases§

NativeMemoryPlatformError
Native allocation error selected on macOS.
PlatformQuiescentRegion
Native quiescent region selected on macOS.