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 2022/06/09 05:38:58 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on pull request #6392: sched/mqueue: remove sched_lock to improve performance

xiaoxiang781216 commented on PR #6392:
URL: https://github.com/apache/incubator-nuttx/pull/6392#issuecomment-1150691869

   > @anchao Did you confirm that this PR works in SMP mode without any side effects?
   
   sched_lock/sched_unlock can't protect the resource in SMP mode. All code which depend on sched_lock/sched_unlock to protect the resource must be change to the critical section, spinlock or semaphore as soon as we can.


-- 
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-unsubscribe@nuttx.apache.org

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