mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-03-27 09:32:28 +08:00
add a blocking mailbox post function
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1471 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
@@ -489,6 +489,8 @@ struct rt_mailbox
|
||||
|
||||
rt_uint16_t entry; /**< index of messages in msg_pool. */
|
||||
rt_uint16_t in_offset, out_offset; /**< in/output offset of the message buffer. */
|
||||
|
||||
rt_list_t suspend_sender_thread; /**< sender thread suspended on this mb */
|
||||
};
|
||||
typedef struct rt_mailbox* rt_mailbox_t;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user