[kernel][ipc] add send wait support for message queue

This commit is contained in:
tangyuxin
2019-09-19 10:10:02 +08:00
parent ae7a33c27c
commit e4671d2916
3 changed files with 131 additions and 5 deletions
+2
View File
@@ -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