aboutsummaryrefslogtreecommitdiffstats
path: root/src/chmtx.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-01-11 11:28:32 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-01-11 11:28:32 +0000
commit382151cf63ff5ef3144fc38bb87490d33da7b2d3 (patch)
treea1ebbe48fe92cc5fa9f6a0493812269820747b9d /src/chmtx.c
parent36c9110259212470667c7cc95bb99ca577945d87 (diff)
downloadChibiOS-382151cf63ff5ef3144fc38bb87490d33da7b2d3.tar.gz
ChibiOS-382151cf63ff5ef3144fc38bb87490d33da7b2d3.tar.bz2
ChibiOS-382151cf63ff5ef3144fc38bb87490d33da7b2d3.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@619 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/chmtx.c')
-rw-r--r--src/chmtx.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/chmtx.c b/src/chmtx.c
index 25a490b98..8288cfe89 100644
--- a/src/chmtx.c
+++ b/src/chmtx.c
@@ -27,8 +27,8 @@
#ifdef CH_USE_MUTEXES
/**
- * Initializes s \p Mutex structure.
- * @param mp pointer to a \p Mutex structure
+ * Initializes s @p Mutex structure.
+ * @param mp pointer to a @p Mutex structure
*/
void chMtxInit(Mutex *mp) {
@@ -38,7 +38,7 @@ void chMtxInit(Mutex *mp) {
/**
* Locks the specified mutex.
- * @param mp pointer to the \p Mutex structure
+ * @param mp pointer to the @p Mutex structure
*/
void chMtxLock(Mutex *mp) {
@@ -52,8 +52,8 @@ void chMtxLock(Mutex *mp) {
/**
* Locks the specified mutex.
*
- * @param mp pointer to the \p Mutex structure
- * @note This function must be called within a \p chSysLock() / \p chSysUnlock()
+ * @param mp pointer to the @p Mutex structure
+ * @note This function must be called within a @p chSysLock() / @p chSysUnlock()
* block.
*/
void chMtxLockS(Mutex *mp) {
@@ -113,7 +113,7 @@ void chMtxLockS(Mutex *mp) {
* Tries to lock a mutex. This function does not have any overhead related to
* the priority inheritance mechanism because it does not try to enter a sleep
* state on the mutex.
- * @param mp pointer to the \p Mutex structure
+ * @param mp pointer to the @p Mutex structure
* @retval TRUE if the mutex was successfully acquired
* @retval FALSE if the lock attempt failed.
*/
@@ -132,10 +132,10 @@ bool_t chMtxTryLock(Mutex *mp) {
* Tries to lock a mutex. This function does not have any overhead related to
* the priority inheritance mechanism because it does not try to enter a sleep
* state on the mutex.
- * @param mp pointer to the \p Mutex structure
+ * @param mp pointer to the @p Mutex structure
* @retval TRUE if the mutex was successfully acquired
* @retval FALSE if the lock attempt failed.
- * @note This function must be called within a \p chSysLock() / \p chSysUnlock()
+ * @note This function must be called within a @p chSysLock() / @p chSysUnlock()
* block.
*/
bool_t chMtxTryLockS(Mutex *mp) {
@@ -196,7 +196,7 @@ Mutex *chMtxUnlock(void) {
/**
* Unlocks the next owned mutex in reverse lock order.
* @return The pointer to the unlocked mutex.
- * @note This function must be called within a \p chSysLock() / \p chSysUnlock()
+ * @note This function must be called within a @p chSysLock() / @p chSysUnlock()
* block.
* @note This function does not reschedule internally.
*/