RTEMS | cpukit/posix Added pthread clock functions (!547)

Joel Sherrill (@joel) gitlab at rtems.org
Wed Aug 6 16:32:14 UTC 2025




Joel Sherrill commented on a discussion on cpukit/posix/src/condclockwait.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/547#note_128327

 > +#endif
 > +
 > +#include <rtems/posix/condimpl.h>
 > +
 > +int pthread_cond_clockwait(
 > +  pthread_cond_t        *cond,
 > +  pthread_mutex_t       *mutex,
 > +  clockid_t              clock_id,
 > +  const struct timespec *abstime
 > +)
 > +{
 > +  if ( abstime == NULL ) {
 > +    return EINVAL;
 > +  }
 > +  if ( clock_id != CLOCK_MONOTONIC && clock_id != CLOCK_REALTIME ) {
 > +    return EINVAL;

Resolving since this is addressed by !618.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/547#note_128327
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/20250806/e70d81fa/attachment.htm>


More information about the bugs mailing list