PrepZone Logo
PrepZone
Back to Fundamentals

Fundamentals · Easy

What is the difference between a process and a thread?

FresherFundamentalsOperating SystemsConcurrency

Answer preview

A process is an independent program in execution with its own memory space. A thread is a lightweight unit of execution inside a process that shares the process's code and heap.…