hujun260 commented on code in PR #14578:
URL: https://github.com/apache/nuttx/pull/14578#discussion_r1855199407


##########
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 will call spin_trylock_wo_note
   spin_trylock_wo_note will call sched_lock_wo_note



-- 
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]

Reply via email to