xiaoxiang781216 commented on code in PR #14562:
URL: https://github.com/apache/nuttx/pull/14562#discussion_r1822641712
##########
arch/risc-v/src/common/supervisor/riscv_perform_syscall.c:
##########
@@ -65,6 +65,10 @@ void *riscv_perform_syscall(uintreg_t *regs)
addrenv_switch(NULL);
#endif
+ /* Update scheduler parameters */
+
+ nxsched_suspend_scheduler(g_running_tasks[this_cpu()]);
Review Comment:
should we save the result at line 40 to avoid the dup?
--
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]