patacongo commented on issue #8869: URL: https://github.com/apache/nuttx/issues/8869#issuecomment-1478818623
I just did a quit glance through some of the code to see how real time signal numbers are being defined. The appear: 1. to be hard-coded, and 2. to overlap the standard signals. For example, in nuttx-apps I can do: $ find . -name *.c | xargs grep -l "signal[.]h" | xargs grep define | grep SIG The only value real time signals at this moment are 30 and 31. Those are never used. All signals overlap the standard signal numbers and could have some really weird consequences. The value of SIGRTMIN must be created to avoid the overlap, then all usage of real time signals must be defined something like: #define SIGNO_A (SIGRTMIN) #define SIGNO_B (SIGRTMIN + 1) -- 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-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org