gustavonihei commented on a change in pull request #4413:
URL: https://github.com/apache/incubator-nuttx/pull/4413#discussion_r696902632
##########
File path: sched/sched/sched_processtimer.c
##########
@@ -142,6 +142,42 @@ static inline void nxsched_process_scheduler(void)
# define nxsched_process_scheduler()
#endif
+/****************************************************************************
+ * Name: nxsched_process_wdtimer
+ *
+ * Description:
+ * Wdog timer process, should with critical_section when SMP mode.
+ *
+ * Input Parameters:
+ * None
+ *
+ * Returned Value:
+ * None
+ *
+ ****************************************************************************/
+
+#ifdef CONFIG_SMP
+static inline void nxsched_process_wdtimer(void)
+{
+ irqstate_t flags;
+
+ /* We are in an interrupt handler as, as a consequence, interrupts are
Review comment:
```suggestion
/* We are in an interrupt handler and, as a consequence, interrupts are
```
--
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]