N/APosted on - 06/06/2012
I would like to know the effect of putting two pointers to the same process in the ready queue of a scheduling algorithm?
Also need your suggestion to obtain the same result without duplicating the pointer?
Effect of putting two pointers to the same process?
If two pointers to the same process are inserted in the ready queue, then the process concerned will be given twice as much CPU time as the other processes. This means that in this scheme, a process can be given a priority over other processes by inserting two pointers to its process control block in the ready queue.