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

Gedare Bloom (@gedare) gitlab at rtems.org
Thu Aug 7 15:06:48 UTC 2025




Gedare Bloom started a new discussion on cpukit/score/src/threadqtimeout.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/618#note_128381

 > +
 > +void _Thread_queue_Add_timeout_by_clock_id_timespec(
 > +  Thread_queue_Queue   *queue,
 > +  Thread_Control       *the_thread,
 > +  Per_CPU_Control      *cpu_self,
 > +  Thread_queue_Context *queue_context
 > +)
 > +{
 > +  if ( queue_context->clock_id == CLOCK_MONOTONIC ) {
 > +    _Thread_queue_Add_timeout_monotonic_timespec(
 > +      queue,
 > +      the_thread,
 > +      cpu_self,
 > +      queue_context
 > +    );
 > +  } else {

should we do a switch and catch errors here?

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/618#note_128381
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/20250807/895662a4/attachment-0001.htm>


More information about the bugs mailing list