mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-21 18:57:16 +08:00
[kernel][ipc] add send wait support for message queue
This commit is contained in:
@@ -742,6 +742,8 @@ struct rt_messagequeue
|
||||
void *msg_queue_head; /**< list head */
|
||||
void *msg_queue_tail; /**< list tail */
|
||||
void *msg_queue_free; /**< pointer indicated the free node of queue */
|
||||
|
||||
rt_list_t suspend_sender_thread; /**< sender thread suspended on this message queue */
|
||||
};
|
||||
typedef struct rt_messagequeue *rt_mq_t;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user