summaryrefslogtreecommitdiff
path: root/include/rtdef.h
diff options
context:
space:
mode:
author[email protected] <[email protected]>2011-06-08 16:40:07 +0000
committer[email protected] <[email protected]>2011-06-08 16:40:07 +0000
commit252bc41a2ca1dff8e2f8306f3e92c0bab5111d98 (patch)
treea4174a49557f1276c34e35ef8b49b0b7ab317a3e /include/rtdef.h
parentd15319c4086579fb404a550f1f564cc55c23589f (diff)
add a blocking mailbox post function
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1471 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'include/rtdef.h')
-rw-r--r--include/rtdef.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rtdef.h b/include/rtdef.h
index 898bf91399..f5d1449d45 100644
--- a/include/rtdef.h
+++ b/include/rtdef.h
@@ -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