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
Operating System (O.S) An operating system is the complete set of programs written to utilize the computer resources in an optimal manner. The operating system supervise

Define Levels of Abstraction in a DBMS, explain briefly, Conceptual Schema, Physical Schema, External Schema

There are many other techniques in which companies who manufacture microprocessors have attempted to get better the performance of their CPUs. Cache memory this is a small quantit

Software interruptions can be thoroughly activated by the assembler invoking the number of the preferred interruption with the INT instruction. The use of interruptions aids us in

note on high level language and low level language

what is the short and complete definition of computer

what question can be asked for embedded system

TRANSMISSION MEDIA: When we speak of transmission media, we usually mean a mix of physical lines ranging from wire pairs to cable, and over the air transmission media, such as

explain how modern computers conform to john von nuemann''s architeture?

There are two kinds of procedures, the intrasegments, which are found on the similar segment of instructions and the inter-segments which can be stored on dissimilar memory segment