Jay
Jay

Reputation: 2107

Process control block vs process table?

Struggling to work out the difference between a process control block and a process table.

A process table as far as I can see is a table that stores what was the last 'processed' instruction, and what is next in that queue?

As far as I can see a process control block seems to do the same?

Can someone clarify this to me please?

Upvotes: 8

Views: 4102

Answers (2)

Vineet Setia
Vineet Setia

Reputation: 365

PCB is helpful in making contest switches..whenever some process is preempted or terminated its context is switched from PCB..while Process Table contains information only about the registers etc.

Upvotes: -1

Luke A. Guest
Luke A. Guest

Reputation: 594

A process control block (pcb) contains information about the process, I.e. registers, quantum, priority, etc.

The process table is an array of pcb's.

Upvotes: 15

Related Questions