You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "patacongo (via GitHub)" <gi...@apache.org> on 2023/07/31 15:50:24 UTC
[GitHub] [nuttx] patacongo commented on issue #9978: Per-thread vs Global sigprocmask
patacongo commented on issue #9978:
URL: https://github.com/apache/nuttx/issues/9978#issuecomment-1658647438
Update: The behavior of sigprocmask() is actually undefined in a multi-threaded process:
References:
https://pubs.opengroup.org/onlinepubs/009695299/functions/pthread_sigmask.html
> The pthread_sigmask() function shall examine or change (or both) the calling thread's signal mask, regardless of the number of threads in the process. The function shall be equivalent to sigprocmask(), without the restriction that the call be made in a single-threaded process.
https://pubs.opengroup.org/onlinepubs/7908799/xsh/sigprocmask.html
> In a single-threaded process, the sigprocmask() function allows the calling process to examine or change (or both) the signal mask of the calling thread.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org