What’s in a Process?
A process consists of at least:
- the code for the running program
- the data for the running program
- an execution stack tracing the state of procedure calls made
- the Program Counter, indicating the next instruction
- a set of general-purpose registers with current values
- a set of operating system resources (open files, connections to other programs, etc.)