Settings
Help

Module channel_manager

Module channel_manager 

Source
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Β§

ChannelData πŸ”’
Data for a single channel stored in the manager
ChannelManager πŸ”’
The channel manager state
ChannelState πŸ”’
State for a single channel, with synchronization
GcState πŸ”’
GC state for the channel manager, all guarded by a single Mutex to prevent deadlocks

EnumsΒ§

RecvError πŸ”’
Error type for receive operations
SendError πŸ”’
Error type for send operations

StaticsΒ§

CHANNEL_MANAGER πŸ”’
Global singleton channel manager

FunctionsΒ§

get_manager πŸ”’
Get a reference to the global channel manager

Type AliasesΒ§

ChannelId πŸ”’
Unique identifier for a channel