RTEMS | Follow-up from "pthread_sigmask should return error number when fail" (#5301)

Joel Sherrill (@joel) gitlab at rtems.org
Wed Jul 16 15:41:14 UTC 2025



Joel Sherrill created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5301



**** JUNK ISSUE TO CLEAN MR ****

The following discussions from !546 should be addressed:

- [ ] @gedare started a [discussion](https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/546#note_126561): 

    > [https://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_sigmask.html](https://pubs.opengroup.org/onlinepubs/9799919799/)
    > 
    > Upon successful completion, pthread_sigmask() shall return 0; otherwise, it shall return the corresponding error number.
    > 
    > @joel do you want to backport this ?

- [ ] @joel started a [discussion](https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/546#note_126599): 

    > You are correct that per POSIX, pthread_sigmask() should return the error not -1. It also should not set errno.

- [ ] @joel started a [discussion](https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/546#note_126600): 

    > You are correct that per POSIX, pthread_sigmask() should return the error not -1. It also should not set errno.

- [ ] @joel started a [discussion](https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/546#note_126601): 

    > You are correct that per POSIX, pthread_sigmask() should return the error not -1. It also should not set errno.

- [ ] @joel started a [discussion](https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/546#note_126602): 

    > You are correct that per POSIX, pthread_sigmask() should return the error not -1. It also should not set errno.

- [ ] @joel started a [discussion](https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/546#note_126603): 

    > You are correct that per POSIX, pthread_sigmask() should return the error not -1. It also should not set errno.

- [ ] @joel started a [discussion](https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/546#note_126604): 

    > You are correct that per POSIX, pthread_sigmask() should return the error not -1. It also should not set errno.

- [ ] @joel started a [discussion](https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/546#note_126615): 

    > You are correct that per POSIX, pthread_sigmask() should return the error not -1. It also should not set errno.

- [ ] @joel started a [discussion](https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/546#note_126616): 

    > You are correct that per POSIX, pthread_sigmask() should return the error not -1. It also should not set errno.

- [ ] @joel started a [discussion](https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/546#note_126619): 

    > You are correct that per POSIX, pthread_sigmask() should return the error not -1. It also should not set errno.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5301
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/7d8c0534/attachment.htm>


More information about the bugs mailing list