RT-Thread API参考手册  3.1.1
嵌入式实时操作系统
rt_mailbox结构体 参考

邮箱控制块 更多...

成员变量

struct rt_ipc_object parent
 继承自 rt_ipc_object
 
rt_uint32_tmsg_pool
 消息缓冲区的起始地址
 
rt_uint16_t size
 消息池的大小
 
rt_uint16_t entry
 msg_pool中的消息索引
 
rt_uint16_t in_offset
 消息缓冲区的输入偏移量
 
rt_uint16_t out_offset
 消息缓冲区的输出偏移量
 
rt_list_t suspend_sender_thread
 挂起在该邮箱上的发送线程
 

详细描述

邮箱控制块

示例:
mailbox_sample.c.