RTEMS | pthread_sigmask should return error number when fail (!546)
Joel Sherrill (@joel)
gitlab at rtems.org
Wed Jul 16 15:44:18 UTC 2025
Joel Sherrill commented on a discussion: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/546#note_126634
Re-adding the comments which need to be addressed.
- You are correct that per POSIX, pthread_sigmask() should return the error not -1. It also should not set errno.
- While you are here add {} around the true condition
- Please try to avoid the inline comparison.
- @opticron @gedare Should this also be fixed on the 6 branch?
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/546#note_126634
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/20250716/2a63a93c/attachment.htm>
More information about the bugs
mailing list