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


Please Help Members By Posting Answers For Below Questions

What are the different functions of Syntax phase, Sheduler?

638


What is a virtual memory?

571


Does overheating cause blue screen?

582


What does it mean to restore default settings?

488


How do you know if you need 32 bit or 64 bit software?

500






While running DOS on a PC, which command would be used to duplicate the entire diskette?

4135


What are dynamic loading, dynamic linking and overlays?

592


What does 64bit mean?

514


Does grep ignore case?

571


Which is first operating system?

512


What is raid? What are the different raid levels?

544


How do I completely remove all traces of a program?

663


What are the different types of CPU registers in a typical operating system design?

572


What killed mandla maseko?

549


What is sock_seqpacket?

613