Expand description
Channel Manager - manages all channel state in a dedicated garbage-collected block
This module provides a singleton ChannelManager that can be accessed from multiple threads. It has its own Block and manages its roots manually using the Heap. All channel operations go through this manager, allowing proper garbage collection of in-transit objects.
Structsยง
- Channel
Data ๐ - Data for a single channel stored in the manager
- Channel
Manager ๐ - The channel manager state
- Channel
State ๐ - State for a single channel, with synchronization
- GcState ๐
- GC state for the channel manager, all guarded by a single Mutex to prevent deadlocks
Enumsยง
Staticsยง
- CHANNEL_
MANAGER ๐ - Global singleton channel manager
Functionsยง
- get_
manager ๐ - Get a reference to the global channel manager
Type Aliasesยง
- Channel
Id ๐ - Unique identifier for a channel