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

Is it safe to delete program data?

539


What is the trtw/trwt timing?

653


What is best free operating system?

557


What is the advantage of a multiprocessor system?

489


What is NOS?

597






How does agile communication differ from tradition software engineering communication? How it is similar?

1369


Can you fix blue screen of death?

524


Why do we need threads?

595


Does overheating cause blue screen?

582


What is Direct Access Method?

599


When designing the file structure for an operating system, what attributes are considered?

597


What is purpose of different operating systems?

579


How do you check if your computer is 32 or 64 bit?

529


What are the disadvantages of microkernels?

739


How do I make a bootable usb drive?

558