I have query on freeRTOS scheduler. I have enabled preemption by setting configUSE_PREEMPTION to 1.
I would like to know how schduling happens if two task of same priority are ready. Does freeRTOS scheduler do time sliced round robin that is if task A and task B both are of same priority P1. While task A is running task B gets ready. Does scheduler do timeslicing or task A completes then only task B is executed.
See the configUSETIMESLICING option:
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.