summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/include/rtems/posix/key.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/include/rtems/posix/key.h')
-rw-r--r--cpukit/posix/include/rtems/posix/key.h59
1 files changed, 33 insertions, 26 deletions
diff --git a/cpukit/posix/include/rtems/posix/key.h b/cpukit/posix/include/rtems/posix/key.h
index edcaa42685..0bb1dbe6a8 100644
--- a/cpukit/posix/include/rtems/posix/key.h
+++ b/cpukit/posix/include/rtems/posix/key.h
@@ -1,5 +1,7 @@
/**
- * @file rtems/posix/key.h
+ * @file
+ *
+ * @brief POSIX Key Private Support
*
* This include file contains all the private support information for
* POSIX key.
@@ -20,20 +22,22 @@
#include <rtems/score/object.h>
/**
- * @defgroup POSIX_KEY Key
+ * @defgroup POSIX_KEY POSIX Key
*
- * @ingroup POSIX
+ * @ingroup POSIXAPI
+ *
*/
-/**@{*/
+/**@{**/
+
#ifdef __cplusplus
extern "C" {
#endif
/**
- * This is the data Structure used to manage a POSIX key.
+ * This is the data Structure used to manage a POSIX key.
*
- * @note The Values is a table indexed by the index portion of the
- * ID of the currently executing thread.
+ * NOTE: The Values is a table indexed by the index portion of the
+ * ID of the currently executing thread.
*/
typedef struct {
/** This field is the Object control structure. */
@@ -45,52 +49,53 @@ typedef struct {
} POSIX_Keys_Control;
/**
- * The following defines the information control block used to manage
- * this class of objects.
+ * The following defines the information control block used to manage
+ * this class of objects.
*/
POSIX_EXTERN Objects_Information _POSIX_Keys_Information;
/**
- * @brief POSIX Keys Manager Initialization
+ * @brief POSIX keys manager initialization.
*
- * This routine performs the initialization necessary for this manager.
+ * This routine performs the initialization necessary for this manager.
*/
void _POSIX_Key_Manager_initialization(void);
/**
- * @brief Thread-Specific Data Key Create
+ * @brief Create thread-specific data POSIX key.
*
- * This function executes all the destructors associated with the thread's
- * keys. This function will execute until all values have been set to NULL.
+ * This function executes all the destructors associated with the thread's
+ * keys. This function will execute until all values have been set to NULL.
*
- * @param[in] thread is the thread whose keys should have all their
- * destructors run.
+ * @param[in] thread is a pointer to the thread whose keys should have
+ * all their destructors run.
*
- * @note This is the routine executed when a thread exits to
- * run through all the keys and do the destructor action.
+ * NOTE: This is the routine executed when a thread exits to
+ * run through all the keys and do the destructor action.
*/
void _POSIX_Keys_Run_destructors(
Thread_Control *thread
);
/**
- * @brief Free Key Memory
+ * @brief Free a POSIX key table memory.
*
- * This memory frees the key table memory associated with @a the_key.
+ * This memory frees the key table memory associated with @a the_key.
*
- * @param[in] the_key is the POSIX key to free the table memory of.
+ * @param[in] the_key is a pointer to the POSIX key to free
+ * the table memory of.
*/
void _POSIX_Keys_Free_memory(
POSIX_Keys_Control *the_key
);
/**
- * @brief _POSIX_Keys_Free
+ * @brief Free a POSIX keys control block.
*
- * This routine frees a keys control block to the
- * inactive chain of free keys control blocks.
+ * This routine frees a keys control block to the
+ * inactive chain of free keys control blocks.
*
- * @param[in] the_key is the POSIX key to free.
+ * @param[in] the_key is a pointer to the POSIX key to free.
*/
RTEMS_INLINE_ROUTINE void _POSIX_Keys_Free (
POSIX_Keys_Control *the_key
@@ -98,9 +103,11 @@ RTEMS_INLINE_ROUTINE void _POSIX_Keys_Free (
#include <rtems/posix/key.inl>
+/** @} */
+
#ifdef __cplusplus
}
#endif
-/**@}*/
+
#endif
/* end of include file */