You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/06/17 05:08:57 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on issue #1137: Correct behavior of sched_lock() in SMP mode

xiaoxiang781216 commented 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:
users@infra.apache.org