From 252bc41a2ca1dff8e2f8306f3e92c0bab5111d98 Mon Sep 17 00:00:00 2001 From: "mbbill@gmail.com" Date: Wed, 8 Jun 2011 16:40:07 +0000 Subject: add a blocking mailbox post function git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1471 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- include/rtdef.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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 -- cgit v1.3.1