ARM Sam7s Task switch

Hi, 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) Regards Rainer

ARM Sam7s Task switch

vPortYieldProcessor and vPortPreemptiveTick both execute from within an interrupt (SWI and IRQ respectively).  In the FreeRTOS.org 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???