summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/pspindestroy.c
diff options
context:
space:
mode:
authorAlex Ivanov <alexivanov97@gmail.com>2012-12-15 09:54:10 -0500
committerGedare Bloom <gedare@rtems.org>2012-12-15 09:54:10 -0500
commite49a36cb0b37cc3ad1c3f191fb439b17f6365539 (patch)
tree1c39de36e4c7a90413f55288ed86d076cef1afbf /cpukit/posix/src/pspindestroy.c
parentlibcsupport: Update file header for termios.h to remove link, add description. (diff)
downloadrtems-e49a36cb0b37cc3ad1c3f191fb439b17f6365539.tar.bz2
posix: Doxygen Enhancement Task #5
http://www.google-melange.com/gci/task/view/google/gci2012/7959229
Diffstat (limited to 'cpukit/posix/src/pspindestroy.c')
-rw-r--r--cpukit/posix/src/pspindestroy.c23
1 files changed, 12 insertions, 11 deletions
diff --git a/cpukit/posix/src/pspindestroy.c b/cpukit/posix/src/pspindestroy.c
index c5574c0c7b..97745b6b77 100644
--- a/cpukit/posix/src/pspindestroy.c
+++ b/cpukit/posix/src/pspindestroy.c
@@ -1,6 +1,11 @@
-/*
- * POSIX Spinlock Manager -- Destroy a Spinlock
+/**
+ * @file
*
+ * @brief Destroy a Spinlock
+ * @ingroup POSIX
+ */
+
+/*
* COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
@@ -19,21 +24,17 @@
#include <rtems/system.h>
#include <rtems/posix/spinlock.h>
-/*
- * pthread_spin_destroy
- *
+/**
* This directive allows a thread to delete a spinlock specified by
* the spinlock id. The spinlock is freed back to the inactive
* spinlock chain.
*
- * Input parameters:
- * spinlock - spinlock id
+ * @param[in] spinlock is the spinlock id
*
- * Output parameters:
- * 0 - if successful
- * error code - if unsuccessful
+ * @return This method returns 0 if there was not an
+ * error. Otherwise, a status code is returned indicating the
+ * source of the error.
*/
-
int pthread_spin_destroy(
pthread_spinlock_t *spinlock
)