Priority based algorithm
Windows XP uses a quantum-based, preemptive priority scheduling algorithm
Preemptive scheduler reruns scheduling decision when process becomes ready. If the new process has priority over running process, the CPU preempts the running process and executes the new process. Non-preemptive scheduler only does scheduling decision when running process voluntarily gives up CPU. In effect, it allows every running process to finish its CPU burst.
1.) in preemptive scheduling we prempt the currently executing process, in non preemptive scheduling we allow the current process to finish its CPU burst time... 2.) in preemptive scheduling the process is forcibly sent to waiting state when a process with higher priority comes to CPU, in non preeemptive scheduling the process at running state can not be forced to leave the CPU until it completes........
The priority scheduling algorithm is a kind of CPU scheduling algorithm where the processes that wait for the CPU are scheduled according to their priority..
Strictly speaking, nonpreemptive scheduling is when the scheduler does not stop the process from running in order to switch it with a different process, but instead, it lets the process to complete and then schedules a different process depending on the a scheduling algorithm is uses.
well sometime it does its just with the syames your useing.
Preemptive scheduling allows a process to be interrupted in the midst of its execution, taking the CPU away and allocating it to another process.Non-preemptive scheduling ensures that a process relinquishes control of the CPU only when it finishes with its current CPU burst.
A scheduler is the heart of every RTOS. It provides the algorithms to select the task for execution. Three common scheduling algorithms are > Cooperative scheduling > Round-robin scheduling > Preemptive scheduling RTOS uses preemptive (priority based) scheduling. In some cases, real-time requirements can be met by using static scheduling.
It uses pre-emptive scheduling. It has what is called a pre-emptive multi-tasking kernel.
A disadvantage of non preemptive scheduling is that it could introduce blocking delays in tasks that are high priority. With this type of scheduling you can also not meet deadlines because decisions can only be made after the task is completed.
In preemptive multitasking scheduling processes , scheduler can interrupt one running process and and allocate CUP to another process without letting the complete the task of first process. Window 95 introduced preemptive scheduling and Mac also uses this scheduling process. Bharat Rawal
Cooperative schedulingPreemptive scheduling Rate-monotonic schedulingRound-robin schedulingFixed priority pre-emptive scheduling, an implementation of preemptive time slicingFixed-Priority Scheduling with Deferred PreemptionFixed-Priority Non-preemptive SchedulingCritical section preemptive schedulingStatic time schedulingEarliest Deadline First approachStochastic digraphs with multi-threaded graph traversal