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
Explain in brief the asymptotic notations

CONCEPT IN PROGRAMMING LANGUAGE: A Programming Language is used to design and describe a set of instructions and computations to be executed by a computer. To do programming,

how to set up the location (e.g. plaza, hall of fame, lecture theater or etc.) and services that will be used during the exhibition; devices needed; and finally produced a compreh

convert the following in to binary 108

SYMBOLS CHART Every one of the parts on code line in assembler is known as token, for instance on the code line: MOV AX, Var We comprise three tokens, the MOV instruction, the AX o

what is meant by deliverable in strus base applications

The basic parts of a computers are shown in Figure.   Input devices such as a keyboard, mouse or scanner are used to enter input (data and/or instructions), directly


Read only memory (rom): The problem with RAM is that its memory is volatile, i.e. it loses all its data when the power supply is removed.  A non-volatile memory is a permanent

Define opportunity cost The opportunity cost of any commodity is defined as the cost of next best alternative, which has been sacrificed for producing the given commodity. Th