RTEMS | cpukit/posix Added pthread clock functions (!547)
mazen Adel (@mez3n)
gitlab at rtems.org
Sat Jul 19 14:30:41 UTC 2025
mazen Adel commented on a discussion on cpukit/posix/src/condclockwait.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/547#note_126937
> +#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;
@sebhub I will make the changes on a new branch which has this merge request already applied and can make a draft MR for you to review is that Okay ?
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/547#note_126937
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/20250719/ef4e9390/attachment-0001.htm>
More information about the bugs
mailing list