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
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
Cumputer
Tanx 4 given opportunity and through my knowledge
Abdullahi groovy hadejia 10-1-2015
difrence between preemptive and nonpreemptive scheduling
Thanks a lot for your elaboration in simple words that are understandable
Musa Juma 09-8-2015
thanx
Brevity is the soul of wit ! u proved it . thank u so much !
meihaindhi 07-31-2015
Pre-emptive and non pre emptive.
Thanks you elaborate the answer in easy words.
Muhammad Rizwan 05-17-2015