What is Difference between thread and process?
Answer Posted / munshimubbi
process is a execution of a program and program contain set
of instructions but thread is a single sequence stream
within the process.thread is sometime called lightweight
process. single thread alows a os to perform singler task
ata time similarities between process and threads are:
1)share cpu.
2)sequential execution
3)create child
4)if one thread is blocked then the next will be start to
run like process.
dissimilarities:
1)threads are not independent like process.
2)all threads can access every address in the task unlike
process.
3)threads are design to assist onr another and process
might or not might be assisted on one another.
| Is This Answer Correct ? | 159 Yes | 59 No |
Post New Answer View All Answers
What is resource allocation graph?
Explain briefly about processor and its functioning?
Does dual boot slow down pc?
What is plumbing/piping?
How do I scan a usb drive for errors?
What is pipelining in reference to ram?
Explain what is meant by heap?
What are the essential conditions for a deadlock to occur?
What problems are faced during the implementation of a network-transparent system?
Give the disadvantages of Havander's Strategies.
Can I have two operating systems on one computer?
Define max, min heap and search time of heap.
What is the code of mobile?
What are the benefits and losses of placing the functionality in a device controller rather than in placing it in the kernel?
Explain thrashing.