ENVS 1800 Lecture Notes - Lecture 10: Process State, Uniprocessor System

7 views2 pages
ENVS 1800 Lecture 10 Notes Process States
Introduction
Most operating systems define three primary operating states for a process.
These are known as the ready state, the running state, and the blocked state.
The relationship between the different process states is shown
Once a process has been created and admitted to the system for execution, it is brought
into the ready state, where it must compete with all other processes in the ready state
for CPU execution time.
Being in the ready state simply means that a process is capable of execution if given
access to the CPU.
At some point in time, presumably, the process will be given time for execution.
The process is moved from the ready state to the running state.
Moving from the ready state to the running state is called dispatching the process.
During the time that the process is in the running state, the program has control of the
CPU and is able to execute instructions.
Of course, only one process can be in the running state at a time for a uniprocessor
system.
If there are ultiple processors or a cluster uder the operatig syste’s cotrol, the OS
is responsible for dispatching a process to run in each available CPU.
In a typical multitasking system, there may be many processes in blocked or ready states
at any given time.
When I/O or other services are required for the continuation of program execution, the
running process can no longer do any further useful work until its requirement is
satisfied.
Some operating systems will suspend the program when this occurs
Others will allow the program to remain in the running state, even though the program
is unable to proceed.
find more resources at oneclass.com
find more resources at oneclass.com
Unlock document

This preview shows half of the first page of the document.
Unlock all 2 pages and 3 million more documents.

Already have an account? Log in

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents

Related Questions