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
One of the facilities that the use of macros provides is the formation of libraries, which are sets of macros which can be included in a program from a different file. The formatio

what are the phases of oo progarmming or java?

each of the following functions has the form f(x ) = (ax+b) mod n. assume that each function has type N base n arrow N base n, so that we can think of f as a cipher for an alphabet

Nano programming using microcontrol and circuits

WCDMA – FDD technology Multiple access technology is wideband CDMA (WCDMA) All cells at same carrier frequency Spreading codes used to separate cells and users Signal bandwidth 3.8

The Scheduling algorithms can be divided into two parts with respect to how they deal with clock interrupts. 1) Nonpreemptive Scheduling: A scheduling

i am currently studying my computer science engineering 2nd yr. i am unable to select what specification should i take please help me

"Just how are we capable to get a computer to performe intelligent tasks?" One thing to answer the question is to tell that: Logic generate a science out of many forms of re

Compiler A compiler is a special program which translates programs written in high level language into machine language. The original program is called the source progra

How do I change file permissions? Every time I execute chmod commands it tells me permission denied.