What is pre-emptive and non-preemptive scheduling?

What is pre-emptive and non-preemptive scheduling?

Tasks are usually assigned with priorities. At times it is necessary to run a certain task that has a higher priority before another task although it is running. Therefore, the running task is interrupted for some time and resumed later when the priority task has finished its execution. This is called preemptive scheduling.

Eg: Round robin

In non-preemptive scheduling, a running task is executed till completion. It cannot be interrupted.
Eg First In First Out

What is pre-emptive and non-preemptive scheduling?

Preemptive scheduling: The preemptive scheduling is prioritized. The highest priority process should always be the process that is currently utilized.

Non-Preemptive scheduling: When a process enters the state of running, the state of that process is not deleted from the scheduler until it finishes its service time.
Operating System semaphore - What is a semaphore?
Operating System semaphore - A semaphore is a variable. There are 2 types of semaphores:Binary semaphores, Counting semaphores.....
Meaning of mutex - Binary semaphore vs. Mutex
Operating System mutex - A mutex and the binary semaphore are essentially the same. Both can take values: 0 or 1. However, there is a significant difference...
What are the different types of memory?
Operating System memory types - Cache Memory - This is a small amounts of memory used to speed up system performance.....
Post your comment
Discussion Board
O.S
benefited..thank you .


AsmaQaali 11-23-2017
topic
Good Explanation. understood very well. Thank you.
Rohini 12-7-2016
Nice Info My Friend
Nice Info My Friend yor need a gold star! xoxoxox
Jon Do 10-19-2016
Os
Thanks good explanation
Muhammad C 10-6-2016
os
Good explanation...
charu nailwal 08-25-2016
preemptive and non-preempteve
good explanation..thanks
Nagaraj 08-10-2016
Non preemtive scheduling
Thanks a lot added those things to knowledge !!!
champika 06-5-2016
operating system
thankx
aiman 11-27-2015