wangzhi16 opened a new pull request, #18181:
URL: https://github.com/apache/nuttx/pull/18181

   ## Summary
   
   Call spinlock nopreempt when need disable context switch.
   
   Using spin_lock_irqsave_nopreempt and spin_unlock_irqrestore_nopreempt to 
replace the following case.
       flags = spin_lock_irqsave(lock);
       sched_lock();
       .....
       spin_unlock_irqrestore(lock, flags);
       sched_unlock();
   
   ## Impact
   
   None
   
   ## Testing
   
   ostest
   
   


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