[rtems commit] doxygen: score: adjust doc in smplockticket.h to doxygen guidelines

Sebastian Huber sebh at rtems.org
Mon May 13 05:52:28 UTC 2019


Module:    rtems
Branch:    master
Commit:    366dbf6a852faaa6ba5d66fa6909a36ec372c0f4
Changeset: http://git.rtems.org/rtems/commit/?id=366dbf6a852faaa6ba5d66fa6909a36ec372c0f4

Author:    Andreas Dachsberger <andreas.dachsberger at embedded-brains.de>
Date:      Mon Apr 15 12:07:51 2019 +0200

doxygen: score: adjust doc in smplockticket.h to doxygen guidelines

Update #3706.

---

 cpukit/include/rtems/score/smplockticket.h | 23 ++++++++++++++++++-----
 1 file changed, 18 insertions(+), 5 deletions(-)

diff --git a/cpukit/include/rtems/score/smplockticket.h b/cpukit/include/rtems/score/smplockticket.h
index e8d0fb7..7d0cc36 100644
--- a/cpukit/include/rtems/score/smplockticket.h
+++ b/cpukit/include/rtems/score/smplockticket.h
@@ -52,11 +52,11 @@ typedef struct {
   }
 
 /**
- * @brief Initializes an SMP ticket lock.
+ * @brief Initializes the SMP ticket lock.
  *
  * Concurrent initialization leads to unpredictable results.
  *
- * @param[in] lock The SMP ticket lock control.
+ * @param[in, out] lock The SMP ticket lock control.
  */
 static inline void _SMP_ticket_lock_Initialize(
   SMP_ticket_lock_Control *lock
@@ -67,17 +67,24 @@ static inline void _SMP_ticket_lock_Initialize(
 }
 
 /**
- * @brief Destroys an SMP ticket lock.
+ * @brief Destroys the SMP ticket lock.
  *
  * Concurrent destruction leads to unpredictable results.
  *
- * @param[in] lock The SMP ticket lock control.
+ * @param lock The SMP ticket lock control.
  */
 static inline void _SMP_ticket_lock_Destroy( SMP_ticket_lock_Control *lock )
 {
   (void) lock;
 }
 
+/**
+ * @brief Acquires the SMP ticket lock.
+ *
+ * @param[in, out] lock The lock to acquire.
+ * @param stats The SMP lock statistics.
+ * @param[out] stats_context The context for the statistics.
+ */
 static inline void _SMP_ticket_lock_Do_acquire(
   SMP_ticket_lock_Control *lock
 #if defined(RTEMS_PROFILING)
@@ -143,6 +150,12 @@ static inline void _SMP_ticket_lock_Do_acquire(
     _SMP_ticket_lock_Do_acquire( lock )
 #endif
 
+/**
+ * @brief Releases the SMP ticket lock.
+ *
+ * @param[in, out] lock The SMP ticket lock to release.
+ * @param[out] stats_context The SMP lock statistics context.
+ */
 static inline void _SMP_ticket_lock_Do_release(
   SMP_ticket_lock_Control *lock
 #if defined(RTEMS_PROFILING)
@@ -176,7 +189,7 @@ static inline void _SMP_ticket_lock_Do_release(
     _SMP_ticket_lock_Do_release( lock )
 #endif
 
-/**@}*/
+/** @} */
 
 #ifdef __cplusplus
 }



More information about the vc mailing list