Labels

C program for non-preemptive priority CPU scheduling algorithm

                  The SJF algorithm is a special case of the general priority-scheduling algorithm. A priority is associated with each process, and the CPU is allocated to the process with the highest priority.Equal-priority processes are scheduled in FCFS order. An SJF algorithm is simply a priority algorithm where the priority (p) is the inverse of the (predicted) next CPU burst. The larger the CPU burst, the lower the priority, and vice versa. Non-preemptive execution means the execution of a process will not be deferred at any time.  Read more>>

No comments:

Post a Comment