crafcat7 opened a new pull request, #14571:
URL: https://github.com/apache/nuttx/pull/14571

   ## Summary
   **Why is this change necessary?**
   When the user sets an illegal signo, the error will only be known when 
timer_signotify is triggered during timeout.
   By intercepting timer_create, we can directly locate the problem
   
   **Changes:**
   Added a check for the user signo provided by the user when using SIGEV_SIGNAL
   
   ## Impact
   
   **Is a new feature added?:** NO
   **Impact on build:** NO
   **Impact on hardware:** NO, this change does not specifically target any 
particular hardware architectures or boards.
   **Impact on documentation:** NO,This patch does not introduce any new 
features
   **Impact on compatibility:** This implementation aims to be backward 
compatible. No existing functionality is expected to be broken.
   
   
   
   ## Testing
   Build Host(s): Linux x86
   Target(s): sim/nsh
   
   It does not affect the normal use of timer_create, because it only returns 
an error for the wrong scenario


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to