8 years, 11 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 2015

anyone?

posted by linucos linucos 12 Jun 2015
Be the first to answer this question.