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

Which javutil classes and interfaces support event handling?

995


What method is invoked to cause an object to begin executing as a separate thread?

977


Define aop(assepct oriented programing)?

1121


How to implement RMI in Java?

2833


Why use a datasource when you can directly specify a connection details?

971


What are local interfaces? Describe.

1162


Why do I get a duplicate name error when loading a jar file?

1079


How messaging services are done, before release of JMS?

2075


Describe activation process?

2603


What is chat area? Explain.

963


What state does a thread enter when it terminates its processing?

1018


What is the difference between ear, jar and war file?

1066


What are the different types of exception?

986


AS a developer will u create a data source in connection pool? If so how will u do that, how to access the object from connection pool using IRAD tool?

2091


What does module-relative mean?

1067