Hi folks:
this is the current “vTaskExitCritical” and “vTaskEnterCritical”.
void vTaskEnterCritical( void )
{
portDISABLE_INTERRUPTS();
.............
}
and
void vTaskExitCritical( void )
{
if( xSchedulerRunning != pdFALSE )
{
if (...)
{
portENABLE_INTERRUPTS();
}
}
}
you see, portDISABLE_INTERRUPTS is unconditinal exectuted,but the enable flow executed with the condition xSchedulerRunning = true.
would this cause a un-symmetry during bootup stage when xSchedulerRunning is false?
thank you!