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

What is api in servlet?

1073


Explain web application directory arrangement?

1144


Difference between get and post in java servlets?

1080


How servlets are deployed in java?

1073


Is servlet a framework?

1096


What are the drawbacks of cgi?

1117


What are the different session tracking techniques?

1245


What is the difference between jsp and servlet life cycle?

1286


How can you run a servlet program?

1141


Why is httpservlet declared abstract?

1179


What is servlet and its life cycle?

1171


Can you refresh servlet in client and server-side automatically?

1132


What are the phases of servlet life cycle?

1167


What is the difference between forward () and sendredirect () functions in servlet? Explain

1079


What is the use of httpservletresponsewrapper?

1029