Hi,
I'm trying to understand how preemptive scheduler works. I did a Google search and saw many tutorials, but I do not understand how does preemptive scheduler work.
If someone can explain by giving a specific example, it would be great help.
I am taking an example. it may be wrong or not related to it. It's just my attempt to understand preemptive scheduler.
Let's assume We have 1ms Or 10 ms tick.
There may several periodic task's
Task A run once every 15 ms
Task B run once every 50 ms
Task C run once every 100 ms
Typically the 10 ms task is highest priority, then the 50 ms task, then the 100 ms task.
This is the situation i have created to learn basic. It has nothing to do with any real project.
I hope someone will look to this topic and will help with specific example.
I'm trying to understand how preemptive scheduler works. I did a Google search and saw many tutorials, but I do not understand how does preemptive scheduler work.
If someone can explain by giving a specific example, it would be great help.
I am taking an example. it may be wrong or not related to it. It's just my attempt to understand preemptive scheduler.
Let's assume We have 1ms Or 10 ms tick.
There may several periodic task's
Task A run once every 15 ms
Task B run once every 50 ms
Task C run once every 100 ms
Typically the 10 ms task is highest priority, then the 50 ms task, then the 100 ms task.
This is the situation i have created to learn basic. It has nothing to do with any real project.
I hope someone will look to this topic and will help with specific example.