RTEMS | Draft: cpukit/posix: Add clock support to thread queue timeouts (!618)

mazen Adel (@mez3n) gitlab at rtems.org
Fri Aug 8 14:57:04 UTC 2025




mazen Adel commented on a discussion on cpukit/include/rtems/score/threadqimpl.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/618#note_128443

 >    queue_context->enqueue_callout = enqueue_callout;
 >  }
 >  
 > +/**
 > + * @brief Validates a clock identifier for thread queue operations.
 > + *
 > + * @param clock_id The clock identifier to validate.
 > + *
 > + * @retval true The clock identifier is valid (CLOCK_REALTIME or CLOCK_MONOTONIC).
 > + * @retval false The clock identifier is not valid.
 > + */
 > +static inline bool _Thread_queue_Context_is_clock_id_valid(clockid_t clock_id)

Moved it to posixapi.h where there are similar generic functions and renamed it to \_POSIX_Is_valid_clock_id().

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/618#note_128443
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/20250808/eeeb1f87/attachment.htm>


More information about the bugs mailing list