DEV Community

Discussion on: Program vs Process vs Thread

Collapse
 
jimmont profile image
Jim Montgomery

This is very helpful to understand. A process is a running instance of a program, with isolated resources (memory, etc) and a collection of threads. Threads share the resources of the process, with each thread handling the scheduling and execution of respective tasks. The threads can update items in memory for other threads to do their respective thing.