You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/10/31 02:52:44 UTC
[GitHub] [incubator-nuttx] zyfeier commented on a diff in pull request #7459: nuttx/sched: usd pid to check idle task
zyfeier commented on code in PR #7459:
URL: https://github.com/apache/incubator-nuttx/pull/7459#discussion_r1008991467
##########
sched/sched/sched_cpuselect.c:
##########
@@ -83,7 +83,7 @@ int nxsched_select_cpu(cpu_set_t affinity)
* IDLE task is always the last task in the assigned task list.
*/
- if (rtcb->flink == NULL)
+ if (is_idle_task(rtcb))
Review Comment:
@pkarashchenko
--
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: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org