summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/include/rtems/posix/mutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/include/rtems/posix/mutex.h')
-rw-r--r--cpukit/posix/include/rtems/posix/mutex.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/cpukit/posix/include/rtems/posix/mutex.h b/cpukit/posix/include/rtems/posix/mutex.h
index dc133d5421..727745ae67 100644
--- a/cpukit/posix/include/rtems/posix/mutex.h
+++ b/cpukit/posix/include/rtems/posix/mutex.h
@@ -21,6 +21,14 @@
extern "C" {
#endif
+/**
+ * @defgroup POSIX_MUTEX POSIX Mutex Support
+ *
+ * @ingroup POSIX
+ *
+ * @brief Private Support Information for POSIX Mutex
+ */
+
#include <rtems/score/coremutex.h>
#include <pthread.h>
@@ -48,7 +56,7 @@ POSIX_EXTERN Objects_Information _POSIX_Mutex_Information;
POSIX_EXTERN pthread_mutexattr_t _POSIX_Mutex_Default_attributes;
/*
- * _POSIX_Mutex_Manager_initialization
+ * @brief POSIX Mutex Manager Initialization
*
* DESCRIPTION:
*
@@ -129,13 +137,17 @@ int _POSIX_Mutex_Lock_support(
Watchdog_Interval timeout
);
-/*
- * _POSIX_Mutex_Translate_core_mutex_return_code
+/**
+ * @brief POSIX Mutex Translate Core Mutex Return Code
*
* DESCRIPTION:
*
* A support routine which converts core mutex status codes into the
* appropriate POSIX status values.
+ *
+ * @param[in] the_mutex_status is the mutex status code to translate
+ *
+ * @return the translated POSIX status code
*/
int _POSIX_Mutex_Translate_core_mutex_return_code(