Monday, September 16, 2013

What is Difference between Preemptive Scheduling and Time Slicing in Java

Preemptive Scheduling :
In Preemptive Scheduling , Highest Priority thread runs first until it enters into waiting states or dead states or higher priority tasks comes into picture.

Time Slicing:
In Time Slicing, Task executes for specific predefined slice of time and then enters into pool of read tasks. Then Scheduler decides which tasks should be executed next.


You may want to Refer to

Author : Anuj Patel
Blog : http://goldenpackagebyanuj.blogspot.in/

No comments:

Post a Comment