formatting

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7269 35acf78f-673a-0410-8e92-d51de3d6d3f4
master
gdisirio 2014-09-13 20:47:29 +00:00
parent 68bc5b8263
commit 3a569f2148
1 changed files with 9 additions and 8 deletions

View File

@ -57,8 +57,8 @@
/** /**
* @brief Adds a reference to a thread object. * @brief Adds a reference to a thread object.
* @pre The configuration option @p CH_CFG_USE_DYNAMIC must be enabled in order * @pre The configuration option @p CH_CFG_USE_DYNAMIC must be enabled in
* to use this function. * order to use this function.
* *
* @param[in] tp pointer to the thread * @param[in] tp pointer to the thread
* @return The same thread pointer passed as parameter * @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 * @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 * is in the @p CH_STATE_FINAL state then the thread's memory is
* returned to the proper allocator. * returned to the proper allocator.
* @pre The configuration option @p CH_CFG_USE_DYNAMIC must be enabled in order * @pre The configuration option @p CH_CFG_USE_DYNAMIC must be enabled in
* to use this function. * order to use this function.
* @note Static threads are not affected. * @note Static threads are not affected.
* *
* @param[in] tp pointer to the thread * @param[in] tp pointer to the thread
@ -124,8 +124,8 @@ void chThdRelease(thread_t *tp) {
#if CH_CFG_USE_HEAP || defined(__DOXYGEN__) #if CH_CFG_USE_HEAP || defined(__DOXYGEN__)
/** /**
* @brief Creates a new thread allocating the memory from the heap. * @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 * @pre The configuration options @p CH_CFG_USE_DYNAMIC and
* must be enabled in order to use this function. * @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 * @note A thread can terminate by calling @p chThdExit() or by simply
* returning from its main function. * returning from its main function.
* @note The memory allocated for the thread is not released when the thread * @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 * @brief Creates a new thread allocating the memory from the specified
* memory pool. * memory pool.
* @pre The configuration options @p CH_CFG_USE_DYNAMIC and @p CH_CFG_USE_MEMPOOLS * @pre The configuration options @p CH_CFG_USE_DYNAMIC and
* must be enabled in order to use this function. * @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 * @note A thread can terminate by calling @p chThdExit() or by simply
* returning from its main function. * returning from its main function.
* @note The memory allocated for the thread is not released when the thread * @note The memory allocated for the thread is not released when the thread