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

   
   ## Summary
   
   Add sem_wait fast operations, use atomic to ensure atomicity of semcount 
operations, and do not depend on critical section.
   
   Test with robot board:
   before modify:
   nxmutex_lock cost: 78 ns
   nxmutex_unlock cost: 82 ns
   
   after modify:
   nxmutex_lock cost: 28 ns
   nxmutex_unlock cost: 14 ns
   
   ## Impact
   
   semaphore
   
   ## Testing
   
   bes board with monkey test pass
   sabre-6quad:smp with ostest pass


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

Reply via email to