CSE 131 Lecture 3: Lecture 3

31 views4 pages
28 Jan 2019
School
Course
Professor

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.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents