What is the benefit of Threads?, Basic Computer Science

Following are some causes why we use threads in designing operating systems.
A process with several threads makes a great server for instance printer server.
For the reason that threads can share common data, they do not require using inter process communication.
Because of the very nature, threads can take benefit of multiprocessors.
Threads are cheap in the logic that
They only require a stack and storage for registers therefore, threads are easy to create.
Threads use very small resources of an operating system in which they are working. That is, threads do not require new address space, global data, program code or operating system resources.
Context switching is fast when working with threads. The reason is that we only have to accumulate and/or restore PC, SP and registers.
Posted Date: 5/2/2012 6:49:59 AM | Location : United States







Related Discussions:- What is the benefit of Threads?, Assignment Help, Ask Question on What is the benefit of Threads?, Get Answer, Expert's Help, What is the benefit of Threads? Discussions

Write discussion on What is the benefit of Threads?
Your posts are moderated
Related Questions
How does GPS work in the field of Sport or athletics?

number of 4 to 16 line decoders required to get 8 lto 256 line decoder


Analog Transmission: In analog transmission, there is a continuous up and down pattern. For example, one wave constitutes one cycle, which is measured in the unit called Hertz


Classify computer systems according to capacity. How they are different from computers according to the classification of technology. Provide comparative

Suppose you are designing a database for an art museum that owns a large volume of works of art. Each work of art is described by a unique item code, a title, a type, and a size. T

note on high level language and low level language

A car battery is of 12 V. Eight dry cells of 1.5 V each connected in series can give 12 V. But such cells are not used in starting a car. Why?

i have attached all files in zip folder, all files are given and act as headers, all what you need to work on: oaa.h "partially given" , wordbench2.h "needed", wordbench2.cpp "nee