@@ -1812,9 +1812,10 @@ extern void k_queue_append(struct k_queue *queue, void *data);
1812
1812
/**
1813
1813
* @brief Append an element to a queue.
1814
1814
*
1815
- * This routine appends a data item to @a queue. There is an implicit
1816
- * memory allocation from the calling thread's resource pool, which is
1817
- * automatically freed when the item is removed from the queue.
1815
+ * This routine appends a data item to @a queue. There is an implicit memory
1816
+ * allocation to create an additional temporary bookkeeping data structure from
1817
+ * the calling thread's resource pool, which is automatically freed when the
1818
+ * item is removed. The data itself is not copied.
1818
1819
*
1819
1820
* @note Can be called by ISRs.
1820
1821
*
@@ -1845,9 +1846,10 @@ extern void k_queue_prepend(struct k_queue *queue, void *data);
1845
1846
/**
1846
1847
* @brief Prepend an element to a queue.
1847
1848
*
1848
- * This routine prepends a data item to @a queue. There is an implicit
1849
- * memory allocation from the calling thread's resource pool, which is
1850
- * automatically freed when the item is removed from the queue.
1849
+ * This routine prepends a data item to @a queue. There is an implicit memory
1850
+ * allocation to create an additional temporary bookkeeping data structure from
1851
+ * the calling thread's resource pool, which is automatically freed when the
1852
+ * item is removed. The data itself is not copied.
1851
1853
*
1852
1854
* @note Can be called by ISRs.
1853
1855
*
@@ -2117,9 +2119,10 @@ struct k_fifo {
2117
2119
/**
2118
2120
* @brief Add an element to a FIFO queue.
2119
2121
*
2120
- * This routine adds a data item to @a fifo. There is an implicit
2121
- * memory allocation from the calling thread's resource pool, which is
2122
- * automatically freed when the item is removed.
2122
+ * This routine adds a data item to @a fifo. There is an implicit memory
2123
+ * allocation to create an additional temporary bookkeeping data structure from
2124
+ * the calling thread's resource pool, which is automatically freed when the
2125
+ * item is removed. The data itself is not copied.
2123
2126
*
2124
2127
* @note Can be called by ISRs.
2125
2128
*
@@ -2316,9 +2319,10 @@ struct k_lifo {
2316
2319
/**
2317
2320
* @brief Add an element to a LIFO queue.
2318
2321
*
2319
- * This routine adds a data item to @a lifo. There is an implicit
2320
- * memory allocation from the calling thread's resource pool, which is
2321
- * automatically freed when the item is removed.
2322
+ * This routine adds a data item to @a lifo. There is an implicit memory
2323
+ * allocation to create an additional temporary bookkeeping data structure from
2324
+ * the calling thread's resource pool, which is automatically freed when the
2325
+ * item is removed. The data itself is not copied.
2322
2326
*
2323
2327
* @note Can be called by ISRs.
2324
2328
*
0 commit comments