24 THREAD_QUEUE_OBJECT_ASSERT(
37 Status_Control status;
39 the_barrier = _Barrier_Get(
id, &queue_context );
41 if ( the_barrier == NULL ) {
52 return _Status_Get( status );
Thread queue context for the thread queue methods.
rtems_status_code rtems_barrier_wait(rtems_id id, rtems_interval timeout)
%
static __inline__ void _Thread_queue_Context_set_enqueue_timeout_ticks(Thread_queue_Context *queue_context, Watchdog_Interval ticks)
Sets the enqueue callout to add a relative monotonic timeout in ticks.
Status_Control _CORE_barrier_Seize(CORE_barrier_Control *the_barrier, Thread_Control *executing, bool wait, Thread_queue_Context *queue_context)
Waits for the barrier.
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
Classic Status Implementation.
Watchdog_Interval rtems_interval
This type is used to represent clock tick intervals.
This status code indicates that an object identifier was invalid.
Objects_Id rtems_id
Values of this type identify an RTEMS object.
CORE_barrier_Control Barrier
Classic Barrier Manager Implementation.