RT-Thread RTOS
1.2.0
An open source embedded real-time operating system
|
#include <rtdef.h>
Data Fields | |
struct rt_ipc_object | parent |
void * | msg_pool |
rt_uint16_t | msg_size |
rt_uint16_t | max_msgs |
rt_uint16_t | entry |
void * | msg_queue_head |
void * | msg_queue_tail |
void * | msg_queue_free |
rt_list_t | suspend_sender_thread |
message queue structure
struct rt_ipc_object rt_messagequeue::parent |
inherit from ipc_object
void* rt_messagequeue::msg_pool |
start address of message queue
rt_uint16_t rt_messagequeue::msg_size |
message size of each message
rt_uint16_t rt_messagequeue::max_msgs |
max number of messages
rt_uint16_t rt_messagequeue::entry |
index of messages in the queue
void* rt_messagequeue::msg_queue_head |
list head
void* rt_messagequeue::msg_queue_tail |
list tail
void* rt_messagequeue::msg_queue_free |
pointer indicated the free node of queue
rt_list_t rt_messagequeue::suspend_sender_thread |
sender thread suspended on this message queue