Module registry

Module registry 

Source
Expand description

NOTE: All stable registry access is TLS-thread-local. This ensures atomicity on the IC’s single-threaded execution model.

Structs§

MemoryRange
MemoryRange
MemoryRegistry
MemoryRegistry
MemoryRegistryEntry
MemoryRegistryEntry

Enums§

MemoryRegistryError
MemoryRegistryError

Constants§

MEMORY_RANGES_ID
MEMORY_REGISTRY_ID
Reserved for the registry system itself
PENDING_RANGES

Functions§

defer_register
defer_reserve_range
drain_pending_ranges
Drain (and clear) all pending ranges. Intended to be called from the ops layer during init/post-upgrade.
drain_pending_registrations
Drain (and clear) all pending registrations. Intended to be called from the ops layer during init/post-upgrade.

Type Aliases§

MemoryRegistryView
MemoryRegistryView