kasjer opened a new pull request, #2912:
URL: https://github.com/apache/mynewt-core/pull/2912

   This change add possibility to lock task scheduling temporarily.
   Pair of functions os_sched_suspend/os_sched_resume is added to allow task 
switching to be suspended while interrupts are still enabled.
   
   This change is needed specially when Trust Zone MCU runs unsecure code
   and then it calls secure functions while interrupts are enabled.
   In some cases interrupt can activate context switch.
   Context switch will not work correctly when current task is executing secure 
code
   with separate (but only one) main secure stack.


-- 
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-unsubscr...@mynewt.apache.org

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

Reply via email to