summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/rtems/barrier.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/include/rtems/rtems/barrier.h')
-rw-r--r--cpukit/include/rtems/rtems/barrier.h36
1 files changed, 5 insertions, 31 deletions
diff --git a/cpukit/include/rtems/rtems/barrier.h b/cpukit/include/rtems/rtems/barrier.h
index 2eea90fa41..7422f78931 100644
--- a/cpukit/include/rtems/rtems/barrier.h
+++ b/cpukit/include/rtems/rtems/barrier.h
@@ -1,21 +1,9 @@
/**
- * @file rtems/rtems/barrier.h
+ * @file
*
- * @defgroup ClassicBarrier Barriers
- *
- * @ingroup ClassicRTEMS
- * @brief Classic API Barrier Manager
+ * @ingroup ClassicBarrier
*
- * This include file contains all the constants and structures associated
- * with the Barrier Manager.
- *
- * Directives provided are:
- *
- * - create a barrier
- * - get an ID of a barrier
- * - delete a barrier
- * - wait for a barrier
- * - signal a barrier
+ * @brief Classic Barrier Manager API
*/
/* COPYRIGHT (c) 1989-2008.
@@ -29,11 +17,9 @@
#ifndef _RTEMS_RTEMS_BARRIER_H
#define _RTEMS_RTEMS_BARRIER_H
-#include <rtems/rtems/types.h>
-#include <rtems/rtems/status.h>
#include <rtems/rtems/attr.h>
-#include <rtems/score/object.h>
-#include <rtems/score/corebarrier.h>
+#include <rtems/rtems/status.h>
+#include <rtems/rtems/types.h>
#ifdef __cplusplus
extern "C" {
@@ -50,18 +36,6 @@ extern "C" {
/**@{*/
/**
- * This type defines the control block used to manage each barrier.
- */
-typedef struct {
- /** This is used to manage a barrier as an object. */
- Objects_Control Object;
- /** This is used to implement the barrier. */
- CORE_barrier_Control Barrier;
- /** This is used to specify the attributes of a barrier. */
- rtems_attribute attribute_set;
-} Barrier_Control;
-
-/**
* @brief RTEMS Create Barrier
*
* Barrier Manager -- Create a Barrier Instance