diff options
-rw-r--r-- | os/rt/src/chmsg.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/os/rt/src/chmsg.c b/os/rt/src/chmsg.c index ca56c5f84..3018070d6 100644 --- a/os/rt/src/chmsg.c +++ b/os/rt/src/chmsg.c @@ -111,8 +111,10 @@ msg_t chMsgSend(thread_t *tp, msg_t msg) { * @note If the message is a pointer then you can assume that the data
* pointed by the message is stable until you invoke @p chMsgRelease()
* because the sending thread is suspended until then.
+ * @note The reference counter of the sender thread is not increased, the
+ * returned pointer is a temporary reference.
*
- * @return A reference to the thread carrying the message.
+ * @return A pointer to the thread carrying the message.
*
* @api
*/
|