Process Table - -Owner-PC (Program...

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

View Full Document Right Arrow Icon
Process Table Each process will be represented with an entry in the process table. The Process Table is one of the most important data structures in the kernel. The maximum number of entries in the process table determines the maximum number of processes in the system and it is set at boot time.
Background image of page 1

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

View Full DocumentRight Arrow Icon
Process Table Process ID (PID) 0 1 2 3 4 5 MAX PID-1 . . . Each Entry Includes: PID: Index in process table - Command and args - List of memory mappings used by process
Background image of page 2
Background image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: -Owner-PC (Program Counter)-Registers-Stack-List of Open Files-State (Wait, Ready, Running etc.) Process Table • Each process table entry contains enough information to restart (put in running state) a process that is waiting or in ready state. • A process may have more than one thread. • There is a stack, pc, state, and a set of registers in the process table entry for each thread that the process has....
View Full Document

This note was uploaded on 01/30/2012 for the course CS 354 taught by Professor Staff during the Fall '08 term at Purdue University.

Page1 / 3

Process Table - -Owner-PC (Program...

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

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