RTEMS: cpukit/include/rtems/rtems/barrier.h Source File

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
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
25extern "C" {
26#endif
27
57 rtems_status_code rtems_barrier_create(
58 rtems_name name,
59 rtems_attribute attribute_set,
60 uint32_t maximum_waiters,
61 rtems_id *id
62);
63
80 rtems_status_code rtems_barrier_ident(
81 rtems_name name,
82 rtems_id *id
83);
84
97 rtems_status_code rtems_barrier_delete(
98 rtems_id id
99);
100
115 rtems_status_code rtems_barrier_wait(
116 rtems_id id,
117 rtems_interval timeout
118);
119
135 rtems_status_code rtems_barrier_release(
136 rtems_id id,
137 uint32_t *released
138);
139
142#ifdef __cplusplus
143}
144#endif
145
146#endif
147/* end of include file */
attr.h
types.h
rtems_attribute
uint32_t rtems_attribute
Definition: attr.h:41
rtems_barrier_wait
rtems_status_code rtems_barrier_wait(rtems_id id, rtems_interval timeout)
RTEMS Barrier Wait.
Definition: barrierwait.c:30
rtems_barrier_delete
rtems_status_code rtems_barrier_delete(rtems_id id)
RTEMS Delete Barrier.
Definition: barrierdelete.c:23
rtems_barrier_create
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:29
rtems_barrier_release
rtems_status_code rtems_barrier_release(rtems_id id, uint32_t *released)
RTEMS Barrier Release.
Definition: barrierrelease.c:24
rtems_barrier_ident
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_status_code
Classic API Status.
Definition: status.h:43
rtems_name
uint32_t rtems_name
Classic API object name type.
Definition: types.h:77
rtems_id
Objects_Id rtems_id
Used to manage and manipulate RTEMS object identifiers.
Definition: types.h:83
rtems_interval
Watchdog_Interval rtems_interval
Used to manage and manipulate intervals specified by clock ticks.
Definition: types.h:127
status.h