RTEMS
Classes | Macros | Functions
smpbarrier.h File Reference

SMP Barrier API. More...

#include <rtems/score/cpuopts.h>
#include <rtems/score/atomic.h>

Go to the source code of this file.

Classes

struct  SMP_barrier_Control
 SMP barrier control. More...
 
struct  SMP_barrier_State
 SMP barrier per-thread state. More...
 

Macros

#define SMP_BARRIER_CONTROL_INITIALIZER   { ATOMIC_INITIALIZER_UINT( 0U ), ATOMIC_INITIALIZER_UINT( 0U ) }
 SMP barrier control initializer for static initialization.
 
#define SMP_BARRIER_STATE_INITIALIZER   { 0U }
 SMP barrier per-thread state initializer for static initialization.
 

Functions

static void _SMP_barrier_Control_initialize (SMP_barrier_Control *control)
 Initializes a SMP barrier control. More...
 
static void _SMP_barrier_State_initialize (SMP_barrier_State *state)
 Initializes a SMP barrier per-thread state. More...
 
bool _SMP_barrier_Wait (SMP_barrier_Control *control, SMP_barrier_State *state, unsigned int count)
 Waits on the SMP barrier until count threads rendezvoused. More...
 

Detailed Description

SMP Barrier API.

Definition in file smpbarrier.h.