RTEMS
Files | Classes | Macros | Functions | Variables
Classic Barrier Implementation

Files

file  barrierdata.h
 Classic Barrier Manager Data Structures.
 
file  barrierimpl.h
 Classic Barrier Manager Implementation.
 
file  barrierident.c
 rtems_barrier_ident() Implementation
 

Classes

struct  Barrier_Control
 

Macros

#define BARRIER_INFORMATION_DEFINE(max)
 Macro to define the objects information for the Classic Barrier objects. More...
 

Functions

static __inline__ Barrier_Control_Barrier_Allocate (void)
 _Barrier_Allocate More...
 
static __inline__ void _Barrier_Free (Barrier_Control *the_barrier)
 _Barrier_Free More...
 
static __inline__ Barrier_Control_Barrier_Get (Objects_Id id, Thread_queue_Context *queue_context)
 

Variables

Objects_Information _Barrier_Information
 The Classic Barrier objects information.
 

Detailed Description

Macro Definition Documentation

◆ BARRIER_INFORMATION_DEFINE

#define BARRIER_INFORMATION_DEFINE (   max)
Value:
_Barrier, \
OBJECTS_CLASSIC_API, \
OBJECTS_RTEMS_BARRIERS, \
max, \
NULL \
)
#define OBJECTS_NO_STRING_NAME
Constant for the object information string name length to indicate that this object class has no stri...
Definition: objectdata.h:101
#define OBJECTS_INFORMATION_DEFINE(name, api, cls, type, max, nl, ex)
Statically initializes an objects information.
Definition: objectdata.h:427

Macro to define the objects information for the Classic Barrier objects.

This macro should only be used by <rtems/confdefs.h>.

Parameters
maxThe configured object maximum (the OBJECTS_UNLIMITED_OBJECTS flag may be set).

Definition at line 61 of file barrierdata.h.

Function Documentation

◆ _Barrier_Allocate()

static __inline__ Barrier_Control* _Barrier_Allocate ( void  )
static

_Barrier_Allocate

This function allocates a barrier control block from the inactive chain of free barrier control blocks.

Definition at line 43 of file barrierimpl.h.

◆ _Barrier_Free()

static __inline__ void _Barrier_Free ( Barrier_Control the_barrier)
static

_Barrier_Free

This routine frees a barrier control block to the inactive chain of free barrier control blocks.

Definition at line 54 of file barrierimpl.h.