diff options
| author | tangyuxin <[email protected]> | 2019-09-16 15:12:42 +0800 |
|---|---|---|
| committer | tangyuxin <[email protected]> | 2019-09-19 10:10:02 +0800 |
| commit | e4671d291689e71967afa5dec4ff25d310faa3fb (patch) | |
| tree | 71aa285a3fef62ec980eaac98fa779fd302a54b6 /include/rtdef.h | |
| parent | ae7a33c27cf4356b4ba4936eafc8e6b9368d3e3e (diff) | |
[kernel][ipc] add send wait support for message queue
Diffstat (limited to 'include/rtdef.h')
| -rw-r--r-- | include/rtdef.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rtdef.h b/include/rtdef.h index 7c05178e3c..b25a6a87d5 100644 --- a/include/rtdef.h +++ b/include/rtdef.h @@ -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 |
