Concept Flow - Process vs thread
Start Program
Create Process
Process has own memory
Create Thread(s) inside Process
Threads share Process memory
Threads run tasks concurrently
Process ends, all threads end
This flow shows how a program starts by creating a process with its own memory, then creates threads inside it that share memory and run tasks concurrently.