I call vTaskDelayUntil() in a task at priority 2. I have another task at priority 4 (writing to a display). When vTaskDelayUntil() expires I am expecting the priority 2 task to preempt the priority 4 task, which it is not. Is my understanding of vTaskDelayUntil() correct? Should the priority 2 task preemt the priority 4 task? Regards
The higher the numeric priority value the higher the priority (logical) – hence priority 2 is lower than priority 4 and it sounds like the behaviour you observe is the expected behaviour.
Thanks for your response. I assumed lower number would be higher priority based on interrupt controllers I have used. Interesting that the code I inherited has set writing to the display as the highest priority task. I will change the priority scheme and check the behavior with this new knowledge. No need to respond further.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.