Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What are preemptive scheduling and time slicing and what is
the difference between them?

Answer Posted / prashanth001

Preemptive Scheduling is where one thread continues to
execute till such time its execution has completed or until
a thread of a higher priority comes into existence or the
priority of one of the waiting threads is increased.

Time Slicing is where each thread that is waiting to
execute will share the CPU time equally. One thread will
exeucte for n seconds or milliseconds, then go to the
waiting state again. the CPU scheduler will then determine
which of the other waiting threads will execute next.

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?

1033


What event results from the clicking of a button?

1253


Will the general public have access to the infobus apis?

1048


Do we need to override service() method

1731


whats is mean by tiles in struts

2230


what is a non-repeatable read?

2430


What is a policy?

2305


What is the difference between the string and stringbuffer classes?

1103


Explain the different types of memory used by jvm?

1146


What is the argument type of a programs main() method?

1118


What are various types of class loaders used by jvm?

1003


What is the difference between the font and fontmetrics classes?

1159


Explain about thread synchronization inside a monitor?

2548


What modifiers may be used with an interface declaration?

1137


Which javutil classes and interfaces support event handling?

1046