hartmannathan commented on code in PR #21774:
URL: https://github.com/apache/nuttx/pull/21774#discussion_r4550751370


##########
sched/group/group_killchildren.c:
##########
@@ -112,10 +112,12 @@ static int group_cancel_children_handler(pid_t pid, FAR 
void *arg)
 
           if ((rtcb->flags & TCB_FLAG_TTYPE_MASK) == TCB_FLAG_TTYPE_PTHREAD)

Review Comment:
   Both branches are doing `nxsched_put_tcb(rtcb)` so it could be factored out 
and placed just before the `if`?



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

Reply via email to