CSC209H5 Chapter Notes - Chapter 7: Parent Process, Child Process, System Call

45 views4 pages

Document Summary

Csc209h5s - software programming and tools (winter 2018) Program - the executable instructions of a program. Either human readable source code or compiled machine code. Includes machine code of the program, information about the current state of process (instructions to execute next), or current values of variables in memory. When a program is loaded into memory, a memory would have the following layout structure. Globals - hold current value of other variables in the program that are considered global Heap - hold current value of other variables in the program. Stack - tells us which function we are executing and holds values of local variables. Process control block/task control block - stores current values of important registrars and open file descriptors. Pid (process id) - a unique identifier for a process. Pc - program counter - identifies the next instruction to be executed. Sp - stack pointer (identifies the top of a stack)

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