{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Integer the pid namespace is global to the system only

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: d at some point 25 May 2012 Processes & Threads 3 University of Washington The OS’s process namespace     (Like most things, the parFculars depend on the specific OS, but the principles are general) The name for a process is called a process ID (PID)   An integer   The PID namespace is global to the system   Only one process at a Mme has a parMcular PID   OperaFons that create processes return a PID   E.g., fork()   OperaFons on processes take PIDs as an argument   E.g., kill(), wait(), nice() 25 May 2012 Processes & Threads 4 University of Washington RepresentaFon of processes by the OS   The OS maintains a data structure to keep track of a process’s state   Called the process control block (PCB) or process descriptor   IdenMfied by the PID   OS keeps all of a process’s execuFon state in (or linked from) the PCB whe...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online