aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-09-13 20:47:29 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-09-13 20:47:29 +0000
commit3a569f21488f8107052516ac1f0b54335807d5d4 (patch)
treef84a9e01de2be841e8e9ed272df62de61683a4e9 /os
parent68bc5b826340cdef0b8648ae6d60159a5c7b9a8b (diff)
downloadChibiOS-3a569f21488f8107052516ac1f0b54335807d5d4.tar.gz
ChibiOS-3a569f21488f8107052516ac1f0b54335807d5d4.tar.bz2
ChibiOS-3a569f21488f8107052516ac1f0b54335807d5d4.zip
formatting
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7269 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r--os/rt/src/chdynamic.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/os/rt/src/chdynamic.c b/os/rt/src/chdynamic.c
index fea2429b9..05432c2d6 100644
--- a/os/rt/src/chdynamic.c
+++ b/os/rt/src/chdynamic.c
@@ -57,8 +57,8 @@
/**
* @brief Adds a reference to a thread object.
- * @pre The configuration option @p CH_CFG_USE_DYNAMIC must be enabled in order
- * to use this function.
+ * @pre The configuration option @p CH_CFG_USE_DYNAMIC must be enabled in
+ * order to use this function.
*
* @param[in] tp pointer to the thread
* @return The same thread pointer passed as parameter
@@ -80,8 +80,8 @@ thread_t *chThdAddRef(thread_t *tp) {
* @details If the references counter reaches zero <b>and</b> the thread
* is in the @p CH_STATE_FINAL state then the thread's memory is
* returned to the proper allocator.
- * @pre The configuration option @p CH_CFG_USE_DYNAMIC must be enabled in order
- * to use this function.
+ * @pre The configuration option @p CH_CFG_USE_DYNAMIC must be enabled in
+ * order to use this function.
* @note Static threads are not affected.
*
* @param[in] tp pointer to the thread
@@ -124,8 +124,8 @@ void chThdRelease(thread_t *tp) {
#if CH_CFG_USE_HEAP || defined(__DOXYGEN__)
/**
* @brief Creates a new thread allocating the memory from the heap.
- * @pre The configuration options @p CH_CFG_USE_DYNAMIC and @p CH_CFG_USE_HEAP
- * must be enabled in order to use this function.
+ * @pre The configuration options @p CH_CFG_USE_DYNAMIC and
+ * @p CH_CFG_USE_HEAP must be enabled in order to use this function.
* @note A thread can terminate by calling @p chThdExit() or by simply
* returning from its main function.
* @note The memory allocated for the thread is not released when the thread
@@ -175,8 +175,9 @@ thread_t *chThdCreateFromHeap(memory_heap_t *heapp, size_t size,
/**
* @brief Creates a new thread allocating the memory from the specified
* memory pool.
- * @pre The configuration options @p CH_CFG_USE_DYNAMIC and @p CH_CFG_USE_MEMPOOLS
- * must be enabled in order to use this function.
+ * @pre The configuration options @p CH_CFG_USE_DYNAMIC and
+ * @p CH_CFG_USE_MEMPOOLS must be enabled in order to use this
+ * function.
* @note A thread can terminate by calling @p chThdExit() or by simply
* returning from its main function.
* @note The memory allocated for the thread is not released when the thread