Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 9 months ago.
rtos issue[compitetion of pendsv and systick]
hi,there
In HAL_CM4.s file, PendSV_Handler function handles the interrupt of pendsv.
In rt_System.c file, rt_systick (callbed by SysTick_Handler) functions handles the interrupt of systick.
Question is that no irq is disabled while both functions access os_tsk.run var.
I think systick will preemptive pendsv.
Why is that?
Thanks.
anyone?
posted by linucos linucos 01 Jun 2015anyone?
posted by linucos linucos 12 Jun 2015