Process in Memory |
Process Concept
- An operating system executes a variety of programs:
- Jobs for batch system
- User program/ tasks for time-sharing system
- Textbook uses the terms "job" and "process" almost interchangeably
- Process - a program in execution; process execution must progress in sequential fashion
- A process includes:
- program counter
- stack
- data section
Process State
- new : The process is being created
- running : Instructions are being executed
- waiting : The process is waiting for some event to occur
- ready : The process is waiting to be assigned to a process
- terminated : The process has finished execution
Diagram of Process State |
참고 : Operating System Concepts by WILEY
댓글 없음:
댓글 쓰기