Difference among a computer process and thread

Describe difference among a computer process & thread?

E

Expert

Verified

A single process can contain multiple threads which share global data and address space along with other threads running in the similar process, and thus can operate on the similar data set easily. Processes do not share address space and a different mechanism have to be utilized if they are to share data.

If we assume running a word processing program to be a process, then the auto-save and spell check features which happen in the background are different threads of that process which are all operating on the similar data set (your document).

Process:

In computing, a process is an instance of a computer program which is being sequentially executed [1] by a computer system which has the ability to run several computer programs concurrently.

Thread:

A single process may have several executable programs (threads) that work together like a coherent whole. One thread might, for instance, handle error signals, another might send a message regarding the error to the user, while a third thread is executing the actual task.

   Related Questions in Science

©TutorsGlobe All rights reserved 2022-2023.