mazen Adel commented on a discussion on cpukit/posix/src/condtimedwait.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/547#note_126398 > if ( abstime == NULL ) { > return EINVAL; /* not specified */ > } > - return _POSIX_Condition_variables_Wait_support( > - cond, > - mutex, > - abstime > - ); > + return _POSIX_Condition_variables_Wait_support( cond, mutex, abstime, > NULL ); I had to add `the_cond = _POSIX_Condition_variables_Get( cond );` `POSIX_CONDITION_VARIABLES_VALIDATE_OBJECT( the_cond, flags );` `clock_id = _POSIX_Condition_variables_Get_clock( flags );` which is redundant because we have to call it again in `_POSIX_Condition_variables_Wait_support()` is there a better solution ? -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/547#note_126398 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list bugs@rtems.org http://lists.rtems.org/mailman/listinfo/bugs