Process Scheduling Queues

Different states of processes use their individual queues to keep the number of processes which are known as Process Scheduling Queues. Identical PCB of each process is also exists in that queue.

 The OS maintains the following scheduling Queues

  • Process queue: Process queue keeps record of all those processes which are exist at secondary memory.
  • Ready queue: Ready queue keeps a set of all processes exist in main memory and ready to execute.
  • Wait queue: Those processes which are blocked by OS are exist in waiting queue. It is due to requesting of process for an I/O device or user input request.
  • Suspended Queue: It contains those processes which are temporarily kicked out of main memory.

OS maintains all PCB’s of each process in their scheduling Queues. And It use different process scheduling algorithms to manage each queue.

Two State Process Model

Two state process model tells us either the process is running or not.

State Description
Running When a process is created, then it enters into the system as it is a running state.
Not-Running Processes which are not running are kept in waiting queue for its turn to execute. dispatcher is used for this purpose.

If It Is Useful Then Help Other’s By Sharing…

Help Other’s By Sharing…

Contact Us

Burewala, Vehari, Punjab, Pakistan

cstaleem1@gmail.com

Website: CStaleem.com

Pin It on Pinterest