aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/include/chlists.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-09-21 10:22:06 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-09-21 10:22:06 +0000
commit07351222e6d0b6b3dcd4f50ecb18bc09e7402d1c (patch)
tree4766a942caadb8937c09c015ec2609d8455ba8c5 /os/kernel/include/chlists.h
parent16855e1a4e43b4b45e5b5a595628ab1d8c108093 (diff)
downloadChibiOS-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/chlists.h')
-rw-r--r--os/kernel/include/chlists.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/os/kernel/include/chlists.h b/os/kernel/include/chlists.h
index d3eef5417..a93ccedb4 100644
--- a/os/kernel/include/chlists.h
+++ b/os/kernel/include/chlists.h
@@ -35,23 +35,31 @@ typedef struct Thread Thread;
/**
* @brief Threads queue initialization.
+ *
+ * @notapi
*/
#define queue_init(tqp) ((tqp)->p_next = (tqp)->p_prev = (Thread *)(tqp));
/**
* @brief Threads list initialization.
+ *
+ * @notapi
*/
#define list_init(tlp) ((tlp)->p_next = (Thread *)(tlp))
/**
* @brief Evaluates to @p TRUE if the specified threads queue or list is
* empty.
+ *
+ * @notapi
*/
#define isempty(p) ((p)->p_next == (Thread *)(p))
/**
* @brief Evaluates to @p TRUE if the specified threads queue or list is
* not empty.
+ *
+ * @notapi
*/
#define notempty(p) ((p)->p_next != (Thread *)(p))