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
How do I recover files from my usb?
Are 64bit applications faster?
Explain pcb.
What is the operating system?
Why is round robin algorithm considered better than first come first served algorithm?
Can I have two browsers on my computer?
How much ram do I need?
How many gb of ram can 64 bit use?
What do you know about system model?
Why Thread behavior is unpredictable?
What is the limit of ram capacity in a 32bit os?
what is the memory required when a screen has 1024*1280 pixels and each pixel can have around 16 million colors?
Can you tell what a device is by mac address?
Explain the handheld systems. List the issues related to the handheld system.
What is the difference between shared memory and message passing?