summaryrefslogtreecommitdiffstats
path: root/cpukit/rtems/src/barrierwait.c
diff options
context:
space:
mode:
authorMathew Kallada <matkallada@gmail.com>2012-12-02 16:59:17 -0600
committerJoel Sherrill <joel.sherrill@oarcorp.com>2012-12-02 16:59:17 -0600
commitc05d75020d231aa193444a84c84d5ecaa1a4cefa (patch)
tree9c536c3693cdeb925364d06235918f993e2b9d9f /cpukit/rtems/src/barrierwait.c
parentscore misc: Clean up Doxygen #13 (GCI 2012) (diff)
downloadrtems-c05d75020d231aa193444a84c84d5ecaa1a4cefa.tar.bz2
score misc: Clean up Doxygen #14 (GCI 2012)
This patch is a task from GCI 2012 which improves the Doxygen comments in the RTEMS source. http://www.google-melange.com/gci/task/view/google/gci2012/8025204
Diffstat (limited to 'cpukit/rtems/src/barrierwait.c')
-rw-r--r--cpukit/rtems/src/barrierwait.c23
1 files changed, 7 insertions, 16 deletions
diff --git a/cpukit/rtems/src/barrierwait.c b/cpukit/rtems/src/barrierwait.c
index 523c4dd7f7..05b592e65b 100644
--- a/cpukit/rtems/src/barrierwait.c
+++ b/cpukit/rtems/src/barrierwait.c
@@ -1,6 +1,11 @@
-/*
- * Barrier Manager -- Wait at a Barrier
+/**
+ * @file
*
+ * @brief RTEMS Barrier Wait
+ * @ingroup ClassicBarrier
+ */
+
+/*
* COPYRIGHT (c) 1989-2007.
* On-Line Applications Research Corporation (OAR).
*
@@ -20,20 +25,6 @@
#include <rtems/score/thread.h>
#include <rtems/score/threadq.h>
-/*
- * rtems_barrier_wait
- *
- * This directive allows a thread to wait at a barrier.
- *
- * Input parameters:
- * id - barrier id
- * timeout - number of ticks to wait (0 means wait forever)
- *
- * Output parameters:
- * RTEMS_SUCCESSFUL - if successful
- * error code - if unsuccessful
- */
-
rtems_status_code rtems_barrier_wait(
rtems_id id,
rtems_interval timeout