raiden00pl commented on PR #11125: URL: https://github.com/apache/nuttx/pull/11125#issuecomment-1793433899
The logic within `spin_lock_irqsave()` should not suspend (according to https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=139629502). In this case `nxmutex_lock()` may block an executing thread so `xxx_critical_section()` looks like the only way. -- 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