sebastianene07 commented on a change in pull request #1009:
URL: https://github.com/apache/incubator-nuttx/pull/1009#discussion_r422602342



##########
File path: arch/sim/src/sim/up_initialstate.c
##########
@@ -73,6 +73,10 @@ void up_initial_state(struct tcb_s *tcb)
 #else
   int ret;
 
+#if CONFIG_RR_INTERVAL > 0
+  tcb->flags |= TCB_FLAG_SCHED_RR;

Review comment:
       I saw that if threads don't have ```TCB_FLAG_SCHED_RR``` flag set we 
won't be able to execute ```sched_roundrobin_process``` in ``` 
nxsched_cpu_scheduler ``` file : sched/sched/sched_processtimer.c +84




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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to