RTEMS  5.0.0
barrier.h
Go to the documentation of this file.
1 
9 /* COPYRIGHT (c) 1989-2008.
10  * On-Line Applications Research Corporation (OAR).
11  *
12  * The license and distribution terms for this file may be
13  * found in the file LICENSE in this distribution or at
14  * http://www.rtems.org/license/LICENSE.
15  */
16 
17 #ifndef _RTEMS_RTEMS_BARRIER_H
18 #define _RTEMS_RTEMS_BARRIER_H
19 
20 #include <rtems/rtems/attr.h>
21 #include <rtems/rtems/status.h>
22 #include <rtems/rtems/types.h>
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
58  rtems_name name,
59  rtems_attribute attribute_set,
60  uint32_t maximum_waiters,
61  rtems_id *id
62 );
63 
81  rtems_name name,
82  rtems_id *id
83 );
84 
98  rtems_id id
99 );
100 
116  rtems_id id,
117  rtems_interval timeout
118 );
119 
136  rtems_id id,
137  uint32_t *released
138 );
139 
142 #ifdef __cplusplus
143 }
144 #endif
145 
146 #endif
147 /* end of include file */
rtems_status_code rtems_barrier_release(rtems_id id, uint32_t *released)
RTEMS Barrier Release.
Definition: barrierrelease.c:23
uint32_t rtems_attribute
Definition: attr.h:41
Watchdog_Interval rtems_interval
Used to manage and manipulate intervals specified by clock ticks.
Definition: types.h:127
uint32_t rtems_name
Classic API object name type.
Definition: types.h:77
rtems_status_code rtems_barrier_ident(rtems_name name, rtems_id *id)
RTEMS Barrier name to Id.
Definition: barrierident.c:26
rtems_status_code rtems_barrier_wait(rtems_id id, rtems_interval timeout)
RTEMS Barrier Wait.
Definition: barrierwait.c:30
rtems_status_code rtems_barrier_create(rtems_name name, rtems_attribute attribute_set, uint32_t maximum_waiters, rtems_id *id)
RTEMS Create Barrier.
Definition: barriercreate.c:28
rtems_status_code
Classic API Status.
Definition: status.h:43
Objects_Id rtems_id
Used to manage and manipulate RTEMS object identifiers.
Definition: types.h:83
rtems_status_code rtems_barrier_delete(rtems_id id)
RTEMS Delete Barrier.
Definition: barrierdelete.c:23