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 is context switching?

Answer Posted / santosh

The scheduler maintains a queue of executable threads for each priority level. These are known as ready threads. When a processor becomes available, the system performs a context switch. The steps in a context switch are:
Save the context of the thread that just finished executing.
Place the thread that just finished executing at the end of the queue for its priority.
Find the highest priority queue that contains ready threads.
Remove the thread at the head of the queue, load its context, and execute it.

Is This Answer Correct ?    14 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain web application directory arrangement?

999


How can we perform any action at the time of deploying the project?

1067


Why do we need servlet filter?

1004


Is that servlet is pure java object or not?

1032


Difference between java beans & servlets?

998


What is a servlet-to-servlet communcation?

1107


What are the phases of the servlet life cycle?

1053


What is difference between server and servlet?

1035


Which application server is best for java?

1021


hi actully i hav form columns with origin and destination names .as like as i need to create one more column with name amount. my requirement is when i select origin and destination columns automatically i need to get amount from database.how can i. please tel me with relative code

2729


What are the different mode that servlets can be used?

963


Can we use the constructor, instead of init(), to initialize servlet?

1048


What is httpservlet and how it is different from genericservlet?

1037


Why is http protocol called as a stateless protocol?

952


What is lazy loading and what is Generic Servlet Class?

1025