Os - 3
Os - 3
Os - 3
MANAGEMENT
Presented By:
● Multiple parts
● The program code, also called text section
● Current activity including program counter, processor registers
● Stack containing temporary data
Process Concept (contd.)
● Function parameters, return addresses, local variables
● Data section containing global variables
● Heap containing memory dynamically allocated during run time
● Execution of program started via GUI mouse clicks, command line entry of its name, etc
● Process scheduler selects among available processes for next execution on CPU
● Long-term scheduler (or job scheduler) – selects which processes should be brought into the ready
queue
● Long-term scheduler is invoked infrequently (seconds, minutes) ⇒ (may be slow)
● The long-term scheduler controls the degree of multiprogramming