wangchdo commented on code in PR #17265:
URL: https://github.com/apache/nuttx/pull/17265#discussion_r2477781955
##########
sched/signal/sig_suspend.c:
##########
@@ -93,7 +93,6 @@ int sigsuspend(FAR const sigset_t *set)
* can only be eliminated by disabling interrupts!
*/
- sched_lock(); /* Not necessary */
Review Comment:
yes, i found the difference, but according to the comments, i think the
context switch should happen here:
<img width="887" height="851" alt="image"
src="https://github.com/user-attachments/assets/04f2fc5c-a0c9-40f4-8e10-4306ff5ef520"
/>
--
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]