patacongo commented on issue #8869:
URL: https://github.com/apache/nuttx/issues/8869#issuecomment-1479571659

   > **Another Must-Fix Bug**. I just did a quit glance through some of the 
code to see how real time signal numbers are being defined. They appear: ...
   
   Kconfig files that allow configurable signals have the same issue.
   
       $ find nuttx -name Kconfig | xargs grep SIG
       $ find nuttx-apps -name Kconfig | xargs grep SIG
   
   **Real Time Signal Default Value**.  The default value for all real time 
signals must be in the range SIGRTMIN through SIGRTMAX.  Some are not.  For 
example, in nuttx-apps/examples/ajoystick/Kconfig:
   
       19 config EXAMPLES_AJOYSTICK_SIGNO
       20         int "Joystick signal"
       21         default 13
   
   In that case, the joystick notification is given the same value as SIG_PIPE.
   
   **Real Time Signal Range**.  Configurable real time signal number selections 
should be limited by range SIGRTMIN SIGRTMAX.
   
   **Standard Signal Number Range.**  Standard signal numbers are also 
configurable in sched/Kconfig.  I am not sure why since they have very no 
options because there are no free signal numbers and they cannot be real time 
signals.  They all need to have `range 1 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

Reply via email to