I need some help. I have a project to build an alternative scheduler for freeRTos, with a different algorithm, and try to replace it in the OS.
My questions are:
-
Is it possible in normal time? (for about few months)
-
How do I recognize the code of the scheduler in the whole OS code?
Given that FreeRTOS is only a few thousands lines of code it is certainly possible within a few months. If you know how to write a scheduler, of course.
However, FreeRTOS doesn’t even have a real scheduler. It maintains a list of runnable tasks, and at every scheduling point (return from interrupt or explicit yield), it takes the highest priority task from that list.