Lec06-Processes - National University of Computer &...

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

View Full Document Right Arrow Icon
Operating System Spring 07 National University Lec05-Processes Prepared by Uzma Maroof uzma.maroof@nu.edu.pk
Background image of page 1

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

View Full DocumentRight Arrow Icon
2 Process Process A computer program in execution on a machine is a process More formally: “A Sequential stream of Execution in its own address space Two parts to a process 1) Sequential Execution : no concurrency inside a process everything happens sequentially
Background image of page 2
3 Process Address Space Process Address Space A list of memory locations from some min (usually 0) to some max that a process can read and write. Contains the executable program program’s data Stack??? Associated with a process is a set of registers e.g. PC,SP and other information to run the program.
Background image of page 3

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

View Full DocumentRight Arrow Icon
4 Process =? Program Process =? Program Program: series of commands (e.g. C statements, assembly commands, shell commands)
Background image of page 4
5 Process =? Program Process =? Program Anatomy of a process 1) More to a process than just a program program is
Background image of page 5

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

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 13

Lec06-Processes - National University of Computer &...

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

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