About threads & processes
Last updated
Last updated
A process can create, and for instance, contain threads.
The threads of a process are part of the same virtual address space. It implies they share:
data
code
file.
However, each thread has its own:
stack,
stack pointer register
Program Counter
registers.