wangchdo commented on code in PR #3333:
URL: https://github.com/apache/nuttx-apps/pull/3333#discussion_r2696589779
##########
testing/ostest/CMakeLists.txt:
##########
@@ -22,22 +22,22 @@
if(CONFIG_TESTING_OSTEST)
- set(SRCS
- getopt.c
- libc_memmem.c
- restart.c
- sigprocmask.c
- sighand.c
- signest.c
- sighelper.c)
+ set(SRCS getopt.c libc_memmem.c restart.c sighelper.c)
+
+ if(CONFIG_ENABLE_ALL_SIGNALS)
+ list(APPEND SRCS sighand.c signest.c)
+ endif()
if(CONFIG_DEV_NULL)
list(APPEND SRCS dev_null.c)
endif()
- if(CONFIG_SIG_SIGSTOP_ACTION)
- if(CONFIG_SIG_SIGKILL_ACTION)
- list(APPEND SRCS suspend.c)
+ if(NOT CONFIG_DISABLE_ALL_SIGNALS)
+ list(APPEND SRCS sigprocmask.c)
+ if(CONFIG_SIG_SIGSTOP_ACTION)
+ if(CONFIG_SIG_SIGKILL_ACTION)
+ list(APPEND SRCS suspend.c)
+ endif()
endif()
endif()
Review Comment:
Done
##########
examples/ipforward/ipforward.c:
##########
@@ -840,7 +840,10 @@ int main(int argc, FAR char *argv[])
/* Wait for receiver thread to terminate */
+#ifndef CONFIG_DISABLE_ALL_SIGNALS
pthread_kill(fwd.if_receiver, 9);
Review Comment:
Done
--
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]