CSE 131 Chapter Notes - Chapter 2.1: Batch Processing, Child Process, Process State
Document Summary
All software including the os is organized into a number of sequential processes. Process: an instance of an executing program including current values of the program counter, registers, and variables. Multiprogramming: cpu switching back and forth from process to process. The rate at which a process performs is not uniform so processes must not be programmed with built-in assumptions. A process is an activity (has a program, input, output, and a state) A program is something that can be stored on a disk, not doing anything. 4 events cause processes to be created: system initialization, execution of a process-creation system call by a running process, a user request to create a new process, initiation of a batch job. A process will terminate due to one of the following conditions: Fatal error or killed by another process (involuntary) A child process creates more processes, forming a process hierarchy.