RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Data Structures | Macros | Functions
smpbarrier.h File Reference

This header file provides the interfaces of the SMP Barriers. More...

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

Go to the source code of this file.

Data Structures

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

bool _SMP_barrier_Wait (SMP_barrier_Control *control, SMP_barrier_State *state, unsigned int count)
 Waits on the SMP barrier until count threads rendezvoused.
 

Detailed Description

This header file provides the interfaces of the SMP Barriers.