xiaoxiang781216 commented on code in PR #14578: URL: https://github.com/apache/nuttx/pull/14578#discussion_r1855252609
########## include/nuttx/spinlock.h: ########## @@ -353,6 +354,8 @@ spin_trylock_wo_note(FAR volatile spinlock_t *lock) } SP_DMB(); + sched_lock_wo_note(); Review Comment: spin_trylock should call sched_lock to trace the preemption state. -- 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