anchao commented on code in PR #18016:
URL: https://github.com/apache/nuttx/pull/18016#discussion_r2706571843
##########
sched/task/task_cancelpt.c:
##########
@@ -125,14 +125,13 @@ bool nxnotify_cancellation(FAR struct tcb_s *tcb)
*/
tls->tl_cpstate |= CANCEL_FLAG_CANCEL_PENDING;
- leave_critical_section(flags);
- return true;
+ ret = true;
Review Comment:
<img width="1550" height="1016" alt="image"
src="https://github.com/user-attachments/assets/b207250e-8b13-41f1-829f-76d0534d86d4"
/>
Category is advisory, right? This won’t impact the ASIL-D certification at
all. Don’t try to brand me with such an accusation.
--
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]