Module slot

Source
Expand description

Slot管理模块

提供一个基础的 SlotManager,方便任务进行 LeafSlot 的申请和释放

Functions§

alloc_slot
申请一个 LeafSlot
alloc_slots
申请多个 LeafSlot
init
初始化 SLOT_MANAGER
init_recv_slot
初始化接收 Slot
init_slot_edge_handler
设置 slot 在边缘时的处理函数
recycle_slot
释放一个 LeafSlot