What is pre-emptive and non-preemptive scheduling?

          

What is pre-emptive and non-preemptive scheduling?

NEXT>>

What is pre-emptive and non-preemptive scheduling? 

Answer
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

Operating system - pre-emptive and non-preemptive scheduling - Jan 07, 2010 at 15:00 PM  by Vidya Sagar

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.

NEXT>>

Write your comment - Share Knowledge and Experience

Discussion Board
Operating Systems

Thanku very much for d valuable explanation

Saida Syed 03-16-2014 06:28 AM

Thanks

Thank you so much. It was very helpful

Priyanka 02-4-2014 05:56 AM

Thanks

Thank u very much... I appreciate ur work over here...
thanx again.. :)


Avi 09-25-2013 02:12 PM

excellent

thanks for sharing this subject in a simple way..it really helped me :)

abdelrhman 05-23-2013 07:20 AM

m

it's really very easy to understand for anyone.
thanks for it

sandeep mishra 09-5-2012 12:37 PM

software engineering

i really like it
siple and aazing


Tahir Hussain 04-20-2012 06:33 PM

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 02:43 AM

 

More operating system links

Explain the basic functions of process management.

Answer - The basic functions of the OS wrt the process management are :........

What is a named pipe?

Answer - A connection used to transfer data between separate processes, usually on separate computers. ........

What is pre-emptive and non-preemptive scheduling?

Answer - Tasks are usually assigned with priorities. At times it is necessary to run a certain.........

 
Latest placement tests
Latest links
 
 
Home | Want a Job? Submit Key Skills | Employer login | My key skills | About us | Sitemap | Contact us