Difference between Process and Thread
Last Updated :
30 Aug, 2024
Process and threads are the basic components in OS. Process is the program under execution whereas the thread is part of process. Threads of a process can be used when same process is required multiple times. A process can consists of multiple threads. In this article we will explore difference between process and thread in detail.
What is Process?
Processes are basically the programs that are dispatched from the ready state and are scheduled in the CPU for execution. PCB ( Process Control Block ) holds the context of process. A process can create other processes which are known as Child Processes. The process takes more time to terminate, and it is isolated means it does not share the memory with any other process. The process can have the following states new, ready, running, waiting, terminated, and suspended.
What is Thread?
Thread is the segment of a process which means a process can have multiple threads and these multiple threads are contained within a process. A thread has three states: Running, Ready, and Blocked.
The thread takes less time to terminate as compared to the process but unlike the process, threads do not isolate.

Process vs Thread
Difference Between Process and Thread
The table below represents the difference between process and thread.
| Process |
Thread |
| Process means any program is in execution. |
Thread means a segment of a process. |
| The process takes more time to terminate. |
The thread takes less time to terminate. |
| It takes more time for creation. |
It takes less time for creation. |
| It also takes more time for context switching. |
It takes less time for context switching. |
| The process is less efficient in terms of communication. |
Thread is more efficient in terms of communication. |
| Multiprogramming holds the concepts of multi-process. |
We don’t need multi programs in action for multiple threads because a single process consists of multiple threads. |
| The process is isolated. |
Threads share memory. |
| The process is called the heavyweight process. |
A Thread is lightweight as each thread in a process shares code, data, and resources. |
| Process switching uses an interface in an operating system. |
Thread switching does not require calling an operating system and causes an interrupt to the kernel. |
| If one process is blocked, then it will not affect the execution of other processes. |
If a user-level thread is blocked, then all other user-level threads are blocked. |
| The process has its own Process Control Block, Stack, and Address Space. |
Thread has Parents’ PCB, its own Thread Control Block, and Stack and common Address space. |
| Changes to the parent process do not affect child processes. |
Since all threads of the same process share address space and other resources so any changes to the main thread may affect the behavior of the other threads of the process. |
| A system call is involved in it. |
No system call is involved, it is created using APIs. |
| The process does not share data with each other. |
Threads share data with each other. |
Conclusion
From the above discussion we can conclude that the process is program under execution that takes more time in creation as well as termination whereas threads are component of process that takes less time in creation as well as termination. Process has PCB whereas threads have their own thread PCB along with the PCB of parent process.
Frequently Asked Question on Difference Between Process and Thread – FAQ’s
What are the Similarities Between Processes and Threads?
The similarities between processes and threads are like processes threads also have unique ID and set of instructions.
Why are Threads Faster Than Process?
Threads are faster than process as it is light-weighted process and requires less resources for execution compared to process.