![]() |
RT-Thread RTOS
An open source embedded real-time operating system
|
#include <rtdef.h>
Data Fields | |
| struct rt_ipc_object | parent |
| rt_ubase_t * | msg_pool |
| rt_uint16_t | size |
| rt_uint16_t | entry |
| rt_uint16_t | in_offset |
| rt_uint16_t | out_offset |
| rt_list_t | suspend_sender_thread |
mailbox structure
| struct rt_ipc_object rt_mailbox::parent |
inherit from ipc_object
| rt_ubase_t* rt_mailbox::msg_pool |
start address of message buffer
| rt_uint16_t rt_mailbox::size |
size of message pool
| rt_uint16_t rt_mailbox::entry |
index of messages in msg_pool
| rt_uint16_t rt_mailbox::in_offset |
input offset of the message buffer
| rt_uint16_t rt_mailbox::out_offset |
output offset of the message buffer
| rt_list_t rt_mailbox::suspend_sender_thread |
sender thread suspended on this mailbox