RTEMS | Issue: Add Classic API Barrier 'get number waiting' Service (!442)

mazen Adel (@mez3n) gitlab at rtems.org
Tue Mar 4 15:13:52 UTC 2025




mazen Adel commented on a discussion on cpukit/include/rtems/score/corebarrierimpl.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/442#note_120545

 >  
 > +/**
 > + * @brief Gets the number of threads waiting at the barrier.
 > + *
 > + * This routine returns the count of threads currently waiting at the barrier.
 > + *
 > + * @param[in] the_barrier The barrier to check.
 > + * @param[in] queue_context The thread queue context.
 > + *
 > + * @return The number of threads currently waiting at the barrier.
 > + */
 > +static inline uint32_t _CORE_barrier_get_num_waiting(
 > +  const CORE_barrier_Control *the_barrier,
 > +  Thread_queue_Context       *queue_context
 > +)
 > +{

That's a mistake on my part I will be removing it since it's useless anyway.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/442#note_120545
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250304/19375a89/attachment-0001.htm>


More information about the bugs mailing list