Tick Interrup

Posted by Ariel Montero on February 5, 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

RE: Tick Interrup

Posted by Dave on February 5, 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.

RE: Tick Interrup

Posted by Ariel Montero on February 5, 2009
Then...this time slice would be longer and the next would be shorter than the common time slice. Thank you Dave.