In a multi thread application where thread 1 is called every 30us (highest priority, 3us completion), thread 2 called every 100us, 500us to complete , and thread 3 called every 1 ms 100us to complete.
A general explanation would be helpful.
I do no think that is how RTOS scheduling works.
Generally, RTOS task scheduling is pre-emptive round robin with priorities.
That means every task is given the same length of time slot to run before the next one is scheduled in.
There is a level based priority system, the highest priority tasks get scheduled before the lower ones.
All task run until suspension or completion or they get put back on the suspended task list waiting for their next time slot.
The scheduler in some RTOS can be set to run in co-operative mode, that is tasks run until suspension or completion and then the next task is scheduled.
Again, this can be done with task priorities.
Hope this helps.