COSI 131a Lecture Notes - Lecture 4: Parent Process

37 views2 pages

Document Summary

Processes are not always running; they change state during execution. Processes are represented in memory with current state via process control block (pcb) data structures. When a process is switched out its state is copied to a pcb, while the switched in process has its state copied from a. The process scheduler selects the process for program execution on the cpu. The submitted processes can be spooled into disk for later execution. The long term scheduler moves processes from disk to main memory, while the short term scheduler selects one from memory and allocates the cpu to it. Unlike the short term scheduler, the long term scheduler is invoked infrequently and can be slow. The issues of the long term scheduler can be resolved with the. Independent processes are not affected by the execution of other processes. Processes can instead be designed to be cooperative. This requires interprocess communication (ipc) to exchange data and info.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents