freeRTOS scheduler

sapanak wrote on Tuesday, December 29, 2015:

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.


rtel wrote on Tuesday, December 29, 2015:

See the configUSE_TIME_SLICING option: