anchao opened a new pull request #2624:
URL: https://github.com/apache/incubator-nuttx/pull/2624


   ## Summary
   
   arch/spinlock: implement the default test-and-set semantics
   
   use the default testset implement on single core platform that does not 
support test-and-set,
   more flexibility for SMP drivers(using spinlock) if configured in a 
single-core mode.
   
   Signed-off-by: chao.an <anc...@xiaomi.com>
   
   ## Impact
   
   spinlock
   
   ## Testing
   
   spin_lock()
   spin_unlock()
   


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to