AnsweredAssumed Answered

MQX Interrupt Preemption Question

Question asked by jmag99 on Jun 17, 2014
Latest reply on Jun 23, 2014 by Carlos_Musich

I have a quick question about the operation of MQX.  Let's say we have the following senario:

 

Low Priority Task Running

Interrupt Occurs and causes a higher priority task to become ready to run.

 

Upon exiting from the ISR, does MQX immediately task switch to the higher task, or does it wait for the next systick period before changing context?

 

I believe most RTOS immediately change, but we are not seeing this behavior on our system.  We are seeing it wait until the next system tick period before changing to the higher priority task.

Outcomes