ARM Sam7s Task switch

nobody wrote on Monday, August 07, 2006:


does anybody knows what happens if a vPortYieldProcessor or vPortPreemptiveTick event interrupts each other?
Can this cause any problems. The interrupt is not blocked inside this code (3.2.2)



nobody wrote on Monday, August 07, 2006:

vPortYieldProcessor and vPortPreemptiveTick both execute from within an interrupt (SWI and IRQ respectively).  In the demos interrupts remain masked for their entire execution so they cannot interrupt each other. 

If this is not the case for your project then you must have rewritten the interrupt entry and exit code???