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 are ddks?
How is the total memory on a ram stick calculated?
Can a laptop have 32gb of ram?
Which vpn protocol is best?
What are advantages of operating system?
What is an Assembler?
What is a flash memory?
What are the different tasks of Lexical analysis?
Which is the best page replacement algorithm and Why? How
What is the buddy system of memory allocation in operating system (os)?
What is a phase change memory?
Can you please explain the difference between load-time dynamic linking and run-time dynamic linking?
How do I enable plugins on firefox?
What is the purpose of the command interpreter? Why is it usually separate from the kernel?
What is the cpu scheduler?