Ch03_Proess_Concept.pdf - Chapter 3 Process Concept...

Info icon This preview shows pages 1–9. Sign up to view the full content.

Silberschatz, Galvin and Gagne © 2013 Operating System Concepts 9 th Edition Chapter 3: Process Concept
Image of page 1

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

3.2 Silberschatz, Galvin and Gagne © 2013 Operating System Concepts 9 th Edition Chapter 3: Process Concept Process Concept Process Scheduling Operations on Processes Interprocess Communication Examples of IPC Systems Communication in Client-Server Systems
Image of page 2
3.3 Silberschatz, Galvin and Gagne © 2013 Operating System Concepts 9 th Edition Objectives To introduce the notion of a process -- a program in execution, which forms the basis of all computation To describe the various features of processes, including scheduling, creation and termination, and communication To explore inter-process communication using shared memory and message passing To describe communication in client-server systems
Image of page 3

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

3.4 Silberschatz, Galvin and Gagne © 2013 Operating System Concepts 9 th Edition Process Concept An operating system executes a variety of programs: Batch system jobs Time-shared systems user programs or tasks Textbook uses the terms job and process almost interchangeably Process a program in execution; process execution must progress in sequential fashion Multiple parts The program code, also called text section Current activity including program counter , processor registers Stack containing temporary data Function parameters, return addresses, local variables Data section containing global variables Heap containing memory dynamically allocated during run time Program is passive entity stored on disk ( executable file ), process is active Program becomes process when executable file loaded into memory Execution of program started via GUI mouse clicks, command line entry of its name, etc One program can be several processes Consider multiple users executing the same program
Image of page 4
3.5 Silberschatz, Galvin and Gagne © 2013 Operating System Concepts 9 th Edition Process in Memory
Image of page 5

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