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...

List reasons why a Mode switch between threads may be
cheaper than a Mode switch between processes?

Answer Posted / nirmalraj

Process :Generally heavy weight by, the PCB holds kernel
objects the values generally referred as state information.

A application can be divided into two types in design phase:

1.Process - may affect application/program architecture
2.Threads - didn't affect architecture

Threads typically are spawned for a short-term benefit where
as process for long-term even the thread share its own
process address space is never larger than 4GB.

A single process may hold "n" threads so exchanging value
between process; then the cpu spend most of its time for
swapping it leads to thrasing definitely.


Threads easily exchange their locale variables within its
scope but exchange value between process stolen more cpu cycles.

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference among deadlock avoidance, detection and prevention?

1114


when affected the system from virus , which paths will be it stored in system ?

2267


Explain the difference between ntfs & fat file systems?

989


Can you tell which dlls are used for SDK?

1002


Where the system time is stored? In processor or in separate timer ic for that?

932


directories can be implemented either special files that can only be accused in limited ways or can be implemented as ordinary data files. what are advantages and disadvantages of this approach?

2321


What is the difference among deadlock avoidance, detection and prevention?

24206


Explain about busy waiting?

946


Define dynamic memory allocation algorithm?

930


Explain the reasons for implementing process migration? How is the process address space handled during process migration?

951


If you tries to mount a share ( home directory )in a client machine, and it fails how do u approach?

2277


If you do not have cd drive then how will you format c drive?

891


if you are using external package for configuring send mail what is the name of the package?

2307


What items of information about a task might be useful in real time scheduling?

4450


Tell me what are the hardware problem you face regularly in your organization?

915