taskENTER_CRITICAL();

michaeln32 wrote on Wednesday, March 28, 2018:

Hi,

Is taskENTER_CRITICAL() API is nested ?

Is the next code is ok ?

void Task_A(void)
{
taskENTER_CRITICAL();

taskENTER_CRITICAL();

//Some code//

taskEXIT_CRITICAL();

taskEXIT_CRITICAL();

}

davedoors wrote on Sunday, April 01, 2018:

https://www.freertos.org/taskENTER_CRITICAL_taskEXIT_CRITICAL.html