xiaoxiang781216 edited a comment on issue #1137:
URL: 
https://github.com/apache/incubator-nuttx/issues/1137#issuecomment-645153945


   > i have two comments
   > 
   > * to me, enter_critical_section() is another primitive with unclear 
semantics. are you interested in more fine grained locking? or, do you think 
the "global irq lock" approach is good enough for what nuttx is for?
   
   Here is the similar question: 
https://github.com/apache/incubator-nuttx/issues/1144
   
   > * how about introducing a set of new api with clear semantics and name, 
say, preempt_disable().
   
   Does sched_lock equivalent to preempt_disable?


----------------------------------------------------------------
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:
[email protected]


Reply via email to