diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-09-21 10:22:06 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-09-21 10:22:06 +0000 |
commit | 07351222e6d0b6b3dcd4f50ecb18bc09e7402d1c (patch) | |
tree | 4766a942caadb8937c09c015ec2609d8455ba8c5 /os/kernel/include/chmsg.h | |
parent | 16855e1a4e43b4b45e5b5a595628ab1d8c108093 (diff) | |
download | ChibiOS-07351222e6d0b6b3dcd4f50ecb18bc09e7402d1c.tar.gz ChibiOS-07351222e6d0b6b3dcd4f50ecb18bc09e7402d1c.tar.bz2 ChibiOS-07351222e6d0b6b3dcd4f50ecb18bc09e7402d1c.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2184 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/kernel/include/chmsg.h')
-rw-r--r-- | os/kernel/include/chmsg.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/os/kernel/include/chmsg.h b/os/kernel/include/chmsg.h index 16f6d1ef4..438da021f 100644 --- a/os/kernel/include/chmsg.h +++ b/os/kernel/include/chmsg.h @@ -32,12 +32,16 @@ /**
* @brief Evaluates to TRUE if the thread has pending messages.
+ *
+ * @iclass
*/
#define chMsgIsPendingI(tp) \
((tp)->p_msgqueue.p_next != (Thread *)&(tp)->p_msgqueue)
/**
* @brief Returns the first message in the queue.
+ *
+ * @iclass
*/
#define chMsgGetI(tp) \
((tp)->p_msgqueue.p_next->p_msg)
|