ALL > Computer and Education > courses > university courses > undergraduate courses > Operating System > ZSTU class(2019-2020-1) > student directories > >
homework 2 Version 0
👤 Author: by minhaynqqcom 2019-09-18 15:55:42
1.describe the lifecycle of process


     Each process may be in one of the following states:


1.new.  The process is being created.


2.running. Instructions are being executed.


3.waiting.  The process is waiting for some event to occur (such as an I/O completion or reception of a signal) .


4.ready.  The process is waiting to be assigned to a processor.


5.terminated.  The process has finished execution.



2.why each process must have one PCB


      Process Control Block is a data structure in the operating system kernel containing the information needed to manage the scheduling of a particular process. The PCB is \"the manifestation of a process in an operating system.\"


      The role of the PCBs is central in process management: they are accessed and/or modified by most OS utilities, including those involved with scheduling, memory and I/O resource access and performance monitoring. It can be said that the set of the PCBs defines the current state of the operating system. Data structuring for processes is often done in terms of PCBs. For example, pointers to other PCBs inside a PCB allow the creation of those queues of processes in various scheduling states that was previously mentioned.

Please login to reply. Login

Reversion History

Loading...
No reversions found.