Process vs Thread (original) (raw)

Last Updated : 9 Apr, 2026

Modern operating systems are designed to handle multiple tasks efficiently while maintaining good performance and responsiveness. These are mainly achieved through processes and threads.

Process

Process is a program that is currently in execution within an operating system. It operates in an independent environment and is managed by the OS for proper scheduling and execution. Processes form the basis of program execution in a multitasking system. Its Properties are:

12

Process

Thread

Thread is a smallest unit of execution within a process. It enables a program to perform multiple tasks concurrently while sharing the same memory and resources. Threads improve application performance and responsiveness in multitasking environments. Its properties are:

thread

Thread

Similarities Between Threads and Processes

Process vs Thread

Process Thread
Program in execution Part of a process
Takes more time to create & terminate Takes less time to create & terminate
Context switching is slow Context switching is fast
Heavyweight Lightweight
Less efficient communication More efficient communication
Blocking one process doesn’t affect others Blocking a user-level thread may block all
Uses system calls Created using APIs (may not need OS call)
Has its own PCB, stack, address space Shares PCB & address space, has own TCB & stack
Does not share data Shares data with other threads