summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/mutextrylock.c
diff options
context:
space:
mode:
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
)