19 #ifndef _RTEMS_SCORE_COREBARRIERIMPL_H 20 #define _RTEMS_SCORE_COREBARRIERIMPL_H 23 #include <rtems/score/status.h> 35 #define CORE_BARRIER_TQ_OPERATIONS &_Thread_queue_Operations_FIFO 54 _Thread_queue_Destroy( &the_barrier->
Wait_queue );
62 _Thread_queue_Acquire_critical( &the_barrier->
Wait_queue, queue_context );
70 _Thread_queue_Release( &the_barrier->
Wait_queue, queue_context );
94 uint32_t _CORE_barrier_Do_flush(
117 return _CORE_barrier_Do_flush(
129 _CORE_barrier_Do_flush(
Thread queue context for the thread queue methods.
Definition: threadq.h:193
#define RTEMS_INLINE_ROUTINE
Definition: basedefs.h:65
Thread_Control *(* Thread_queue_Flush_filter)(Thread_Control *the_thread, Thread_queue_Queue *queue, Thread_queue_Context *queue_context)
Thread queue flush filter function.
Definition: threadqimpl.h:1021
Thread_Control * _Thread_queue_Flush_default_filter(Thread_Control *the_thread, Thread_queue_Queue *queue, Thread_queue_Context *queue_context)
Default thread queue flush filter function.
Definition: threadqflush.c:25
Thread_Control * _Thread_queue_Flush_status_object_was_deleted(Thread_Control *the_thread, Thread_queue_Queue *queue, Thread_queue_Context *queue_context)
Status object was deleted thread queue flush filter function.
Definition: threadqflush.c:36
RTEMS_INLINE_ROUTINE uint32_t _CORE_barrier_Surrender(CORE_barrier_Control *the_barrier, Thread_queue_Context *queue_context)
Manually release the barrier.
Definition: corebarrierimpl.h:112
Definition: corebarrier.h:45
RTEMS_INLINE_ROUTINE bool _CORE_barrier_Is_automatic(CORE_barrier_Attributes *the_attribute)
Definition: corebarrierimpl.h:144
Status_Control _CORE_barrier_Seize(CORE_barrier_Control *the_barrier, Thread_Control *executing, bool wait, Thread_queue_Context *queue_context)
Wait for the barrier.
Definition: corebarrierwait.c:25
Constants and Structures Associated with the Barrier Handler.
Thread_queue_Control Wait_queue
Definition: corebarrier.h:74
uint32_t number_of_waiting_threads
Definition: corebarrier.h:81
RTEMS_INLINE_ROUTINE uint32_t _CORE_barrier_Get_number_of_waiting_threads(CORE_barrier_Control *the_barrier)
Definition: corebarrierimpl.h:159
Definition: corebarrier.h:70
Definition: corebarrier.h:56
CORE_barrier_Disciplines discipline
Definition: corebarrier.h:59
void _CORE_barrier_Initialize(CORE_barrier_Control *the_barrier, CORE_barrier_Attributes *the_barrier_attributes)
Initialize core barrier.
Definition: corebarrier.c:23