From 07351222e6d0b6b3dcd4f50ecb18bc09e7402d1c Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 21 Sep 2010 10:22:06 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2184 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/kernel/include/chlists.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'os/kernel/include/chlists.h') 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)) -- cgit v1.2.3