CSE 131 Lecture 3: Lecture 3
Document Summary
Address space (memory) the program can use. Continuous space in memory that is allocated for a process. State (registers, including program counter and stack pointer) Os keeps track of all processes in a process table. Ex: assignment 1- start with a shell, if you want to start a program, you fork a child and that will run the new program. If a process is terminated, then the child processes become orphan processes and are usually inherited by higher processes. Ex: if c is terminated, d and e and f become child processes of a. Ex: the process of our programming assignment 1 is the running shell. State affects how it will interact with any requests. Program logic is the part of the state that doesn"t change (like getting ready to accept a request) Forking off (creating new things) - need to maintain their state so the memory of the program is also part of the state.