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

Gedare Bloom (@gedare) gitlab at rtems.org
Tue Mar 4 16:51:34 UTC 2025




Gedare Bloom commented on a discussion on cpukit/include/rtems/score/corebarrierimpl.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/442#note_120564

 >    );
 >  }
 >  
 > +/**
 > + * @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(

We have a .clang-format but it's not quite finished. @amar has one version of it that is running in the CI pipeline. I think there's a way to view its recommendations. I have to finish getting full support up for clang-format.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/442#note_120564
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/bd73644a/attachment.htm>


More information about the bugs mailing list