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
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
OS
Why a shorter time quantum reduces the cpu utilization?
TNavz 03-7-2015
operating sysytem
what is preemptive and non preemptive ?
bashar islam 02-5-2015
operating sysytem
what is preemptive and non preemptive ?
bashar islam 02-5-2015
os
Tanx alot it was very helpful explanation was awsome simple n easy I really like it so easy to understand and fun to read tanx again
vishnu 11-10-2014
os
very good ....
hossain 08-14-2014
Thanks alot guys.
Thanks alot guys. I can now get the logic here.
Anami Destyrius 06-23-2014
PREEMPTION AND NON-PREEMPTION
VERY NICE ELLABORATION OF ANSWER
TAZEEM 06-5-2014
Operating Systems
Thanku very much for d valuable explanation
Saida Syed 03-16-2014
Thanks
Thank you so much. It was very helpful
Priyanka 02-4-2014
Thanks
Thank u very much... I appreciate ur work over here...
thanx again.. :)
Avi 09-25-2013
excellent
thanks for sharing this subject in a simple way..it really helped me :)
abdelrhman 05-23-2013
m
it's really very easy to understand for anyone.
thanks for it
sandeep mishra 09-5-2012
software engineering
i really like it
siple and aazing
Tahir Hussain 04-20-2012
non preemptive scheduling
in non preemptive scheduling, a new process can only come when the current process terminates or it goes to waiting state.
Muhammad Awais 04-18-2012