aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/include/chlists.h
diff options
context:
space:
mode:
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))