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 04:19:04 UTC

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

yamt commented on issue #1137:
URL: https://github.com/apache/incubator-nuttx/issues/1137#issuecomment-645138739


   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?
   
   * how about introducing a set of new api with clear semantics and name, say, 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