diff options
| author | [email protected] <[email protected]> | 2011-06-08 16:40:46 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2011-06-08 16:40:46 +0000 |
| commit | 70c031362a74332e89f5919339cb59e9d0d197ad (patch) | |
| tree | 293f7a6e64e2d4019b49a59be009c4c1303d05b1 /include | |
| parent | 252bc41a2ca1dff8e2f8306f3e92c0bab5111d98 (diff) | |
add a test case for blocking mailbox send
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1472 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'include')
| -rw-r--r-- | include/rtthread.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rtthread.h b/include/rtthread.h index 15b5a03b18..7793663873 100644 --- a/include/rtthread.h +++ b/include/rtthread.h @@ -248,6 +248,7 @@ rt_mailbox_t rt_mb_create (const char* name, rt_size_t size, rt_uint8_t flag); rt_err_t rt_mb_delete (rt_mailbox_t mb); rt_err_t rt_mb_send (rt_mailbox_t mb, rt_uint32_t value); +rt_err_t rt_mb_send_wait (rt_mailbox_t mb, rt_uint32_t value, rt_int32_t timeout); rt_err_t rt_mb_recv (rt_mailbox_t mb, rt_uint32_t* value, rt_int32_t timeout); rt_err_t rt_mb_control(rt_mailbox_t mb, rt_uint8_t cmd, void* arg); #endif |
