0
1.9kviews
State the various scheduling algorithms/ mechanisms/ policies.
1 Answer
written 6.5 years ago by |
i) Real time priority scheduling:
It has two types-
ii) Non-preemptive scheduling:
In this case even if a higher priority task enters into the ready state, the current task (running task) is not pre-empted or suspended until it completes execution.
iii) Preemptive scheduling:
In this case, the higher priority task (T2) when enters the ready state is immediately shifted to running state where T1 with some priority is already running.
If priority T2 > priority T1
then task T2 will preempt the task T1 and enter into running state.