TAG ARCHIVE
Concurrency
1 article
|
Updated Sep 28, 2014
Difference between Process and Thread
Processes and threads are both units of execution managed by the operating system, and they are easy to mix up. The short version: a process is a running instance of a program with its own memory, while a thread is a lighter-weight unit of execution that lives inside a process and shares that memory with its siblings. This post looks at each in turn, then summarizes how the two differ.