views:

6

answers:

0

If a priority queue is being used for scheduling, in what situations does a scheduler use the peek method? As in, what is its purpose?