Kamis, 31 Maret 2011
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
A process includes:
program counter
stack
data section

Process State
As a process executes, it changes state
new: The process is being created
running: Instructions are being executed
waiting: The process is waiting for some event to occur
ready: The process is waiting to be assigned to a processor
terminated: The process has finished execution

Process Control Block (PCB)
Information associated with each process
Process state
Program counter
CPU registers
CPU scheduling information
Memory-management information
Accounting information
I/O status information

0 komentar:

Posting Komentar

IKLAN

About Me

Total Tayangan Halaman

Diberdayakan oleh Blogger.

Entri Populer

Pengikut