RTEMS  5.1
Macros | Functions
corebarrierimpl.h File Reference

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

#include <rtems/score/corebarrier.h>
#include <rtems/score/status.h>
#include <rtems/score/threadqimpl.h>

Go to the source code of this file.

Macros

#define CORE_BARRIER_TQ_OPERATIONS   &_Thread_queue_Operations_FIFO
 

Functions

void _CORE_barrier_Initialize (CORE_barrier_Control *the_barrier, CORE_barrier_Attributes *the_barrier_attributes)
 Initializes the core barrier. More...
 
RTEMS_INLINE_ROUTINE void _CORE_barrier_Destroy (CORE_barrier_Control *the_barrier)
 Destroys the core barrier. More...
 
RTEMS_INLINE_ROUTINE void _CORE_barrier_Acquire_critical (CORE_barrier_Control *the_barrier, Thread_queue_Context *queue_context)
 Acquires critical core barrier. More...
 
RTEMS_INLINE_ROUTINE void _CORE_barrier_Release (CORE_barrier_Control *the_barrier, Thread_queue_Context *queue_context)
 Releases core barrier. More...
 
Status_Control _CORE_barrier_Seize (CORE_barrier_Control *the_barrier, Thread_Control *executing, bool wait, Thread_queue_Context *queue_context)
 Waits for the barrier. More...
 
uint32_t _CORE_barrier_Do_flush (CORE_barrier_Control *the_barrier, Thread_queue_Flush_filter filter, Thread_queue_Context *queue_context)
 Flushes the barrier. More...
 
RTEMS_INLINE_ROUTINE uint32_t _CORE_barrier_Surrender (CORE_barrier_Control *the_barrier, Thread_queue_Context *queue_context)
 Manually releases the barrier. More...
 
RTEMS_INLINE_ROUTINE void _CORE_barrier_Flush (CORE_barrier_Control *the_barrier, Thread_queue_Context *queue_context)
 Flushes the barrier using _CORE_barrier_Do_flush(). More...
 
RTEMS_INLINE_ROUTINE bool _CORE_barrier_Is_automatic (CORE_barrier_Attributes *the_attribute)
 Checks if the barrier is automatic. More...
 
RTEMS_INLINE_ROUTINE uint32_t _CORE_barrier_Get_number_of_waiting_threads (CORE_barrier_Control *the_barrier)
 Returns the number of currently waiting threads. More...
 

Detailed Description

Inlined Routines Associated with the SuperCore Barrier.

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