wangchdo commented on code in PR #3265:
URL: https://github.com/apache/nuttx-apps/pull/3265#discussion_r2690302523
##########
netutils/dhcpc/dhcpc.c:
##########
@@ -533,8 +533,16 @@ static void *dhcpc_run(void *args)
struct dhcpc_state result;
int ret;
+#ifdef CONFIG_DISABLE_ALL_SIGNALS
+ pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL);
+ pthread_setcanceltype(PTHREAD_CANCEL_DEFERRED, NULL);
+#endif
+
while (1)
{
+#ifdef CONFIG_DISABLE_ALL_SIGNALS
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]