anchao commented on code in PR #18199:
URL: https://github.com/apache/nuttx/pull/18199#discussion_r2749306280
##########
sched/semaphore/sem_clockwait.c:
##########
@@ -137,14 +137,14 @@ int nxsem_clockwait(FAR sem_t *sem, clockid_t clockid,
ret = nxsem_wait(sem);
+ leave_critical_section(flags);
Review Comment:
You should also take the point 3 into consideration: if a stale wd timer
node is not deleted in a timely manner, all wd timer checks will iterate
through the nodes that should have been deleted:
<img width="1149" height="821" alt="image"
src="https://github.com/user-attachments/assets/f85f2e1a-9912-4b8d-b8e4-1da56fd770a5"
/>
--
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]