aboutsummaryrefslogtreecommitdiffstats
path: root/src/chmsg.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-12-31 09:08:48 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-12-31 09:08:48 +0000
commita5a2fb4c531a2b5153911d6bd9fbca1d5f0d3e53 (patch)
tree4ac07aea7739c5f1a2a9ea201fe5985a235d2f16 /src/chmsg.c
parent30745dff77158834198d6b29021e1eea0d5b5075 (diff)
downloadChibiOS-a5a2fb4c531a2b5153911d6bd9fbca1d5f0d3e53.tar.gz
ChibiOS-a5a2fb4c531a2b5153911d6bd9fbca1d5f0d3e53.tar.bz2
ChibiOS-a5a2fb4c531a2b5153911d6bd9fbca1d5f0d3e53.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@570 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/chmsg.c')
-rw-r--r--src/chmsg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/chmsg.c b/src/chmsg.c
index 51a126c0f..d960f44e8 100644
--- a/src/chmsg.c
+++ b/src/chmsg.c
@@ -64,7 +64,7 @@ msg_t chMsgSend(Thread *tp, msg_t msg) {
* @return The return message from \p chMsgRelease().
* @note This function assumes that the receiving thread is not sleeping into
* a \p chMsgWait(). The use case is that the server thread is waiting
- * for both messages AND events while waiting into \p chEvtWait().
+ * for both messages AND events while waiting into \p chEvtWaitXXX().
*/
msg_t chMsgSendWithEvent(Thread *tp, msg_t msg, EventSource *esp) {
@@ -139,8 +139,8 @@ msg_t chMsgGet(void) {
* queue else the result will be unpredictable (a crash most likely).
* Exiting from the \p chMsgWait() ensures you have at least one
* message in the queue so it is not a big deal.<br>
- * The condition is not checked in order to make this code as fast as
- * possible.
+ * The condition is only tested in debug mode in order to make this code
+ * as fast as possible.
*/
void chMsgRelease(msg_t msg) {