what are the advantages of threads over processes, Computer Engineering

What are the advantages of threads over processes?

Some of the useful threads offer over processes includes:

i)   It does not take more time to create and finished a new thread than it takes for a process, because the newly created thread uses the present process address space.

ii)  It takes less time to change between two threads within the same process, partly because the newly created thread uses the current process address space.

iii) Less communication overheads -- communicating between the threads of one procedure is simple because the threads distribute the address space, in particular. So, data formed by one thread immediately exists to all the other threads.

 

Posted Date: 3/1/2013 5:58:03 AM | Location : United States







Related Discussions:- what are the advantages of threads over processes, Assignment Help, Ask Question on what are the advantages of threads over processes, Get Answer, Expert's Help, what are the advantages of threads over processes Discussions

Write discussion on what are the advantages of threads over processes
Your posts are moderated
Related Questions
Explain the violating basic security principles There are drawbacks to permitting users to access the Intranet as well as not permitting them. A simple consideration such as a

What is Instruction Cycle The simplest model of instruction processing can be of two steps. The CPU reads /fetches instructions (codes) from memory one at a time and executes i

Q. What is Status Control and Registers? Status Control and Registers: These registers can't be used by programmers though are used to control CPU or execution of a program.

How do you populate data into a multiple line field? To populate data into a multiple line field, an index is added to the field name to show which line is to be populated by t

Memory - management mode System memory-management mode (SMM) is on the same level as protected mode, real mode and virtual mode though it is provided to function as a manager

What is partition? Partitions divide a system into several independent or weakly coupled subsystems, each giving one kind of service. Partitions use peer-peer subsystems.

Communications between the user and the server A significant enhancement was achieved when communications between the user and the server was sent in encrypted form and later

A desirable choice for the partitioning element in quick sort is First element of the list.

Discuss two main approaches to identify free memory area in a heap. Two popular systems to identify free memory areas as a result of allocation and de-allocations in a heap are

Explain The for loop The for loop is frequently used, usually where the loop will be traversed a fixed number of times. It is very flexible, and novice programmers should take