Processes
- A process is an instance of a program running
- Modern OSes run multiple processes simultaneously
- Examples (can all run simultaneously):
- gcc file_A.c – compiler running on file A
- gcc file_B.c – compiler running on file B
- emacs – text editor
- firefox – web browser
- Non-examples (implemented as one process):
- Multiple firefox windows or emacs frames (still one process)
- Why processes?
- Simplicity of programming
- Speed: Higher throughput, lower latency
1 / 40