RTEMS CPU Kit with SuperCore  4.11.2
Macros | Typedefs | Enumerations | Functions
corebarrierimpl.h File Reference

Inlined Routines Associated with the SuperCore Barrier. More...

#include <rtems/score/corebarrier.h>
#include <rtems/score/thread.h>
#include <rtems/score/threadqimpl.h>
#include <rtems/score/watchdog.h>
Include dependency graph for corebarrierimpl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CORE_BARRIER_STATUS_LAST   CORE_BARRIER_TIMEOUT
 Core barrier last status value. More...
 
#define _CORE_barrier_Flush(_the_barrier, _remote_extract_callout, _status)
 This routine assists in the deletion of a barrier by flushing the associated wait queue. More...
 

Typedefs

typedef void(* CORE_barrier_API_mp_support_callout) (Thread_Control *, Objects_Id)
 The following type defines the callout which the API provides to support global/multiprocessor operations on barriers.
 

Enumerations

enum  CORE_barrier_Status { CORE_BARRIER_STATUS_SUCCESSFUL, CORE_BARRIER_STATUS_AUTOMATICALLY_RELEASED, CORE_BARRIER_WAS_DELETED, CORE_BARRIER_TIMEOUT }
 Core Barrier handler return statuses. More...
 

Functions

void _CORE_barrier_Initialize (CORE_barrier_Control *the_barrier, CORE_barrier_Attributes *the_barrier_attributes)
 Initialize core barrier. More...
 
RTEMS_INLINE_ROUTINE void _CORE_barrier_Destroy (CORE_barrier_Control *the_barrier)
 
void _CORE_barrier_Wait (CORE_barrier_Control *the_barrier, Thread_Control *executing, Objects_Id id, bool wait, Watchdog_Interval timeout, CORE_barrier_API_mp_support_callout api_barrier_mp_support)
 Wait for the barrier. More...
 
uint32_t _CORE_barrier_Release (CORE_barrier_Control *the_barrier, Objects_Id id, CORE_barrier_API_mp_support_callout api_barrier_mp_support)
 Manually release the barrier. More...
 
RTEMS_INLINE_ROUTINE bool _CORE_barrier_Is_automatic (CORE_barrier_Attributes *the_attribute)
 This function returns true if the automatic release attribute is enabled in the attribute_set and false otherwise. More...
 
RTEMS_INLINE_ROUTINE uint32_t _CORE_barrier_Get_number_of_waiting_threads (CORE_barrier_Control *the_barrier)
 This routine returns the number of threads currently waiting at the barrier. More...
 

Detailed Description

Inlined Routines Associated with the SuperCore Barrier.

This include file contains all of the inlined routines associated with the SuperCore barrier.