3. 1.2 Processes and PCBs(2/4) ( Review) Process构成: Consists of three components An executable program /code Associated data needed by the program Execution context of the program(the core All information the operating system needs to manage the process Hardware Software
3.1.2 Processes and PCBs(2/4) • (Review) Process构成:Consists of three components • An executable program /code • Associated data needed by the program • Execution context of the program (the core) • All information the operating system needs to manage the process • Hardware • Software 7
3. 1.2 Processes and PcBs( 3/4) Process elements Identifier Identifier State Priority State Program counter Priority Memory Pointers Program counter Context Data yO Status Memory pointers Information Context data Accounting Information I/o status information Accounting information
3.1.2 Processes and PCBs(3/4) • Process Elements • Identifier • State • Priority • Program counter • Memory pointers • Context data • I/O status information • Accounting information 8
3. 1.2 Processes and PcBs(4/ 4) Process control block(进程控制块PCB) Contains the process elements Created and manage by the operating system Allows support for multiple processes
3.1.2 Processes and PCBs(4/4) • Process Control Block(进程控制块 PCB) • Contains the process elements • Created and manage by the operating system • Allows support for multiple processes 9
Chap3 Process description and control ·3.1 What is a process 3.2 Process states 3.3 Process description ·3.4 Process contro 3.5 Execution of the Operating System
10 Chap3 Process Description and Control • 3.1 What is a Process • 3.2 Process States • 3.3 Process Description • 3.4 Process Control • 3.5 Execution of the Operating System
3.2 Process states .3.2.1 Trace of the process 3.2.2 A TWo-State Process model 3.2.3 The Creation and termination of Processes 3.2, 4A Five-State Model 3.2.5 Suspended process
11 3.2 Process States • 3.2.1 Trace of the Process • 3.2.2 A Two-State Process Model • 3.2.3 The Creation and Termination of Processes • 3.2.4 A Five-State Model • 3.2.5 Suspended Process