source: rtems/cpukit/include/rtems/rtems/barrierdata.h @ a6e7d5e4

Last change on this file since a6e7d5e4 was a6e7d5e4, checked in by Sebastian Huber <sebastian.huber@…>, on Nov 12, 2018 at 8:00:36 AM

score: Move internal structures to objectdata.h

Update #3598.

  • Property mode set to 100644
File size: 1.0 KB
Line 
1/**
2 * @file
3 *
4 * @ingroup ClassicBarrierImpl
5 *
6 * @brief Classic Barrier Manager Data Structures
7 */
8
9
10/* COPYRIGHT (c) 1989-2008.
11 * On-Line Applications Research Corporation (OAR).
12 *
13 * The license and distribution terms for this file may be
14 * found in the file LICENSE in this distribution or at
15 * http://www.rtems.org/license/LICENSE.
16 */
17
18#ifndef _RTEMS_RTEMS_BARRIERDATA_H
19#define _RTEMS_RTEMS_BARRIERDATA_H
20
21#include <rtems/rtems/barrier.h>
22#include <rtems/score/objectdata.h>
23#include <rtems/score/corebarrier.h>
24
25#ifdef __cplusplus
26extern "C" {
27#endif
28
29/**
30 * @addtogroup XXX
31 *
32 * @{
33 */
34
35/**
36 *  This type defines the control block used to manage each barrier.
37 */
38typedef struct {
39  /** This is used to manage a barrier as an object. */
40  Objects_Control          Object;
41  /** This is used to implement the barrier. */
42  CORE_barrier_Control     Barrier;
43  /** This is used to specify the attributes of a barrier. */
44  rtems_attribute          attribute_set;
45}   Barrier_Control;
46
47/** @} */
48
49#ifdef __cplusplus
50}
51#endif
52
53#endif
54/*  end of include file */
Note: See TracBrowser for help on using the repository browser.