CSC209H1 Lecture Notes - Parent Process, Uniprocessor System, Errno.H

51 views3 pages
24 Apr 2013
School
Course
Professor

Document Summary

Process state: only one process (instruction) can be running (executing) on a uniprocessor at a time (this is a simplification form the real model) The scheduler decides which of the ready processes to run. Multitasking can still be accomplished with a uniprocessor by switching between processes quickly. Feels concurrent b/c every ~20 millisecond the processor is switches to a different process: a process if ready if it could use the cpi immediately. For 1 process that"s running, there"s several processes ready and waiting to be ran: a process is blocked if it is waiting for an event (i/o, signal, etc. ) Ex. waiting for user input or waiting for data to arrive from disk. Output; note that print order not garenteed running ready blocked or sleeping: other states: initial state and termination state, creating new process in unix create a copy of a currently running process with fork()

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