wangchdo commented on code in PR #17352:
URL: https://github.com/apache/nuttx/pull/17352#discussion_r2558272617


##########
sched/Kconfig:
##########
@@ -44,6 +44,16 @@ config DISABLE_ENVIRON
        bool "Disable environment variable support"
        default DEFAULT_SMALL
 
+config DISABLE_SIGNALS
+       bool "Disable signal support"
+       default n

Review Comment:
   Done. However, I think disabling signals is not only for reducing footprint, 
but also for improving performance and safety. When signals are enabled, a 
task’s stack may be reused to run a signal handler, which is not entirely safe. 
Moreover, various signal-related operations must be performed during task 
initialization, creation, context switching, and exit, all of which introduce 
additional performance overhead.



-- 
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