Lecture9-intro-to-processes-part1

Lecture9-intro-to-processes-part1 - CS 3214 Computer...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
CS 3214 Computer Systems Godmar Back Lecture 9
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Announcements Exercise 4 will be posted today Project 3 coming CS 3214 Fall 2011
Background image of page 2
Threads and Processes Part 1 CS 3214 Fall 2011
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Processes Def: An instance of a program in execution OS provides each process with key abstractions Logical control flow 1 flow – single-threaded process Multiple flows – multi-threaded process Private address space Abstracted resources: e.g., stdout/stdin file descriptors These abstractions create the illusion that CS 3214 Fall 2011
Background image of page 4
Context Switching Historical motivation for processes was introduction of multi-programming: Load multiple processes into memory, and switch to another process if current process is (momentarily) blocked This required protection and isolation between these processes , implemented by a privileged kernel: dual-mode operation. Time-sharing: switch to another process periodically to make sure all processes make equal progress CS 3214 Fall 2011
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
CS 3214 Fall 2011 Dual-Mode Operation Two fundamental modes: “kernel mode” – privileged aka system, supervisor or monitor mode
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/31/2011 for the course CS 3214 taught by Professor Staff during the Fall '11 term at Virginia Tech.

Page1 / 14

Lecture9-intro-to-processes-part1 - CS 3214 Computer...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online