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
I wrote a program that adds up 5x5 matrices by column and row. Now i have to use pointers to rewrite the same code how would do that

Telecommunications network: "A telecommunications network, at its simplest, may be regarded as comprising a transmission network, an arrangement of transmission paths and swit

What is CAI? Explain its pitfalls.

SMA* Search-Artificial intelligence IDA* search is good from a memory point of view. actually it may  be criticised for not using enough memory - utilizing  more memory may inc

If L is a regular language show that L U {a} is regular

QUESTION (a) Define z-transform of sequence x[n]. (b) A causal LTI system has impulse response h[n], for which the z-transform is                     H(z) = (1+z -1

Question 1 . Explain (a) Scatter loss                                (b) Aperture medium coupling loss Question 2 . What do you mean by Geo stationary orbit? Question

Synchronous and Asynchronous Transmission: Another method of setting of terminals denotes synchronous or asynchronous transmission. Many terminals can only communicate in one

a program to create htmlpage

CONCEPT OF PROGRAMMING LANGUAGE: In order to communicate with other human beings, one needs some language or a medium. In the same way for solving problems, a programming  lan