yf13 commented on code in PR #12320: URL: https://github.com/apache/nuttx/pull/12320#discussion_r1623185307
########## sched/group/group_create.c: ########## @@ -222,5 +238,6 @@ void group_postinitialize(FAR struct task_tcb_s *tcb) * task has exited. */ - group->tg_pid = tcb->cmn.pid; + group->tg_pid = (group == &g_kthread_group) ? group->tg_pid : Review Comment: The kthreads group's id shall not change when new kthreads are added, right? -- 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-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org