What isthe difference between a 'thread' and a 'process'?

Answer Posted / kchik

Main difference is:
Threads share the resources and address space of the process
spawning the threads.

Processes run in independent address spaces and have their
own resources between the parent and child processes.

Other differences:
Threads can communicate between threads directly.

Processes require user mode switches and full context switch.

Is This Answer Correct ?    5 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the various components of a computer system?

575


What are the different types of fragmentation?

641


What do you mean by memory leak?

641


Tell me operating systems used in mobile.

573


How do I do a system restore?

539






Does a clean install erase everything?

536


What is best free operating system?

569


How do I remove a second operating system from my computer?

547


What is a monitor?

733


Explain an idle thread?

579


What killed mandla maseko?

556


What is the difference between exclusive lock and shared lock?

589


How do I know if my motherboard is 32 bit or 64 bit?

539


Explain ftdisk in operating system (os)?

595


What are the steps involved in following a particular instruction given by the cpu?

521