RTEMS | Add sem_clockwait() support to RTEMS (!669)
Joel Sherrill (@joel)
gitlab at rtems.org
Thu Sep 11 13:52:33 UTC 2025
Joel Sherrill started a new discussion on cpukit/posix/src/semclockwait.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/669#note_130760
> +#ifdef HAVE_CONFIG_H
> +#include "config.h"
> +#endif
> +
> +#include <rtems/posix/semaphoreimpl.h>
> +#include <rtems/posix/posixapi.h>
> +#include <rtems/score/todimpl.h>
> +
> +int sem_clockwait(
> + sem_t *__restrict _sem,
> + clockid_t clock_id,
> + const struct timespec *__restrict abstime
> +)
> +{
> +
> + if (!_POSIX_Is_valid_clock_id( clock_id ) ){
Move this below the variable declarations and lose the blank line that is now line 50.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/669#note_130760
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/20250911/cb37b25f/attachment.htm>
More information about the bugs
mailing list