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 bean? Where can it be used?

1133


How primary key is implemented in Oracle?

2433


What is re-entrant. Is session beans reentrant. Is entity beans reentrant?

1053


How many times may an objects finalize() method be invoked by the garbage collector?

1084


Difference between DurableSubscription and non- DurableSubscription?

2177


Which textcomponent method is used to set a textcomponent to the read-only state?

1115


Define aop(assepct oriented programing)?

1150


Describe activation process?

2646


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

1056


What is a session? Can you share a session object between different theads?

968


If I wanted to use a solarisui for just a jtabbedpane, and the metal ui for everything else, how would I do that?

1040


How would you reatach detached objects to a session when the same object has already been loaded into the session?

1189


What are the design considerations while making a choice between using interface and abstract class?

1073


Why use POJO when I can use hashmap

2633


For which statements does it make sense to use a label?

1062