Tick Interrup

jarielmar wrote on Thursday, February 05, 2009:

Hi
    What happen if a tick interrup arrives in the middle of API function like
xQueueReceiver ?. Is this tick interrup mask until API function returned or it will be discard?.

   Thanks you

davedoors wrote on Thursday, February 05, 2009:

If there is a critical section it is held pending by the hardware. If it occurs when the scheduler is suspended it is held pending by the kernel. Either way it is not discarded.

jarielmar wrote on Thursday, February 05, 2009:

Then…this time slice would be longer and the next would be  shorter than the common time slice. Thank you Dave.