summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/mutextrylock.c
diff options
context:
space:
mode:
authorAlex Ivanov <alexivanov97@gmail.com>2012-12-15 16:03:12 -0500
committerGedare Bloom <gedare@rtems.org>2012-12-15 16:03:12 -0500
commitd86308bdf8d231cd02bb72e4669f12c2689f4dac (patch)
treeb06e87f5718b4c3e0334fa8e17a219552ed9b923 /cpukit/posix/src/mutextrylock.c
parentposix: Doxygen Enhancement Task #8 (diff)
downloadrtems-d86308bdf8d231cd02bb72e4669f12c2689f4dac.tar.bz2
posix: Doxygen Enhancement Task #2
http://www.google-melange.com/gci/task/view/google/gci2012/7988213
Diffstat (limited to 'cpukit/posix/src/mutextrylock.c')
-rw-r--r--cpukit/posix/src/mutextrylock.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/cpukit/posix/src/mutextrylock.c b/cpukit/posix/src/mutextrylock.c
index 85b6da51a7..f398dc208a 100644
--- a/cpukit/posix/src/mutextrylock.c
+++ b/cpukit/posix/src/mutextrylock.c
@@ -1,3 +1,10 @@
+/**
+ * @file
+ *
+ * @brief Try to Lock Mutex
+ * @ingroup POSIX
+ */
+
/*
* COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
@@ -24,12 +31,11 @@
#include <rtems/posix/priority.h>
#include <rtems/posix/time.h>
-/*
- * 11.3.3 Locking and Unlocking a Mutex, P1003.1c/Draft 10, p. 93
+/**
+ * 11.3.3 Locking and Unlocking a Mutex, P1003.1c/Draft 10, p. 93
*
- * NOTE: P1003.4b/D8 adds pthread_mutex_timedlock(), p. 29
+ * NOTE: P1003.4b/D8 adds pthread_mutex_timedlock(), p. 29
*/
-
int pthread_mutex_trylock(
pthread_mutex_t *mutex
)