1.2 Operating Systems Structures-1
1.2 Operating Systems Structures-1
2 : Operating-System Structures
System Components
Operating System Services
System Calls
Communication Models
Operating System Structures
Common System Components
Process Management
Main Memory Management
File Management
Secondary Storage Management
I/O System Management
Networking
Protection System
Process Management
A process is a program in execution. It is a unit of work within
the system. Program is a passive entity (content of a file stored
on the disk), process is an active entity (with a program counter
specifying the next instruction to execute).
A process needs certain resources, including CPU time,
memory, files, and I/O devices, to accomplish its task.
The operating system is responsible for the following activities in
connection with process management.
Process creation and deletion.
process suspension and resumption.
Provision of mechanisms for:
process synchronization
process communication
Typically system has many processes, some user(execute user
code), some operating system(execute system code), running
concurrently on one or more CPUs
Concurrency by multiplexing the CPUs among the processes /
threads
Process Management Activities
dispatch
admit
New Ready Running
time-out
release
activate event
wait
Exit
Suspend Blocked
suspend
Note that the system-call names used throughout this text are
generic
System Call Implementation