Process Management
Process Management
Program vs Process: A process is a program in execution. For example, when we write a program
in C or C++ and compile it, the compiler creates binary code. The original code and binary code
are both programs. When we actually run the binary code, it becomes a process.
A process is an 'active' entity as opposed to the program which is considered to be a 'passive'
entity.
All of the above attributes of a process are also known as the context of the process. Every
process has its own Process Control Block i.e each process will have a unique PCB. All of the
above attributes are part of the PCB.
NOTE : A process control block PCB) is a data structure used by computer operating systems to store all
the information about a process.
6. Suspended Ready: When the ready queue becomes full, some processes
are moved to suspended ready state