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
Is it safe to delete program data?
What is the trtw/trwt timing?
What is best free operating system?
What is the advantage of a multiprocessor system?
What is NOS?
How does agile communication differ from tradition software engineering communication? How it is similar?
Can you fix blue screen of death?
Why do we need threads?
Does overheating cause blue screen?
What is Direct Access Method?
When designing the file structure for an operating system, what attributes are considered?
What is purpose of different operating systems?
How do you check if your computer is 32 or 64 bit?
What are the disadvantages of microkernels?
How do I make a bootable usb drive?