explain Process States and Process Control Block (PCB), Basic Computer Science

Process States
Throughout the lifespan of a process, its execution position may be in one of four states: (linked with each state is generally a queue on which the process resides)
1. Executing: the process is at present running and has control of a CPU
2. Waiting: the process is at present able to run, but must wait until a CPU becomes available
3. Blocked: the process is at present waiting on I/O, either for input to arrive or output to be sent
4. Suspended: the process is at present able to run, but for some reason the OS has not placed the process on the prepared queue
5. Ready: the process is in memory, will execute specified CPU time.
Process Control Block (PCB)
If the OS allows multiprogramming, then it requires keeping track of all the processes. For every process, its process control block PCB is used to track the process''s execution status, together with the following:
1. Its present processor register contents
2. Its processor state (if it is blocked or set)
3. Which resources have been allocated to it
4. Its memory state
5. A pointer to its stack

6. Which resources it needs
Posted Date: 5/2/2012 5:54:44 AM | Location : United States







Related Discussions:- explain Process States and Process Control Block (PCB), Assignment Help, Ask Question on explain Process States and Process Control Block (PCB), Get Answer, Expert's Help, explain Process States and Process Control Block (PCB) Discussions

Write discussion on explain Process States and Process Control Block (PCB)
Your posts are moderated
Related Questions
Where can I get free software for drawing K maps

what are the phases of oo progarmming or java?

General Considerations for Search If we can specify the first state, the operators and the goal check for a look for difficulty, then we know where to create, how to move and w

#formular for calculating speed up factor fo super scalar architecture, super pipeline architecture and VLIW with m different functional units.

Block diagram of digital computer: The general pattern of computer architecture has remained unchanged over the lastĀ four decades or so. It has a single processor, which accep

Assess the reliability of data gathered via paid Internet users. Describe and assess the evaluation method being used by the testing company, i.e., nonvisual and verbal recording o

#question.a tree has 0 off springs at each node. if it had a label L, what will be the maximum number of nodes that the tree can have. only an expression involving the number of no

Ask question #Minimum 100 words accepted/

The latest threading module comprised with Python 2.4 provides much more powerful, high-level hold for threads than the old thread module. The threading module depictions all the m

IP provide connectionless service to upper layer IP protocol is very simple could not guarantee the reliability of transportations IP protocol is Point to Point IP provide the unif