aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/chlists.c6
-rw-r--r--src/include/lists.h4
2 files changed, 6 insertions, 4 deletions
diff --git a/src/chlists.c b/src/chlists.c
index 24ceb4cc1..8d191fc12 100644
--- a/src/chlists.c
+++ b/src/chlists.c
@@ -92,9 +92,11 @@ Thread *lifo_remove(ThreadsQueue *tqp) {
}
/**
- * @brief Removes a Thread from a FIFO list and returns it.
+ * @brief Removes a Thread from a queue and returns it.
+ * @details The thread is removed from the queue regardless of its relative
+ * position and regardless the used insertion method.
*
- * @param[in] tp the pointer to the thread to be removed from the list
+ * @param[in] tp the pointer to the thread to be removed from the queue
* @return The removed thread pointer.
* @note This function is @b not an API.
*/
diff --git a/src/include/lists.h b/src/include/lists.h
index b858a7c69..89fdb84a7 100644
--- a/src/include/lists.h
+++ b/src/include/lists.h
@@ -34,7 +34,7 @@ typedef struct Thread Thread;
#define notempty(p) ((p)->p_next != (Thread *)(p))
/**
- * @brief Generic threads queue header and element.
+ * @brief Generic threads bidirectional linked list header and element.
* @extends ThreadsList
*/
typedef struct {
@@ -45,7 +45,7 @@ typedef struct {
} ThreadsQueue;
/**
- * @brief Generic threads single link list.
+ * @brief Generic threads single linked list.
* @details This list behaves like a stack.
*/
typedef struct {