Missing call to LeaveRegion

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Hello,

    when you call OS_EnterRegion() without OS_EnterLeaveRegion() the region counter is set and preemptive task switches are disabled.
    In general cooperative task switches can still happen.
    But in case of OS_Delay() which calls internally OS_DelayUntil() the function waits active for the end of the delay when the region counter is set.

    So the answer is: No, other tasks will not be executed.