public class RoundRobinScheduler
- extends Scheduler
A round-robin scheduler tracks waiting threads in FIFO queues, implemented
with linked lists. When a thread begins waiting for access, it is appended
to the end of a list. The next thread to receive access is always the first
thread in the list. This causes access to be given on a first-come
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
- Allocate a new round-robin scheduler.
public ThreadQueue newThreadQueue(boolean transferPriority)
- Allocate a new FIFO thread queue.
- Specified by:
newThreadQueue in class
transferPriority - ignored. Round robin schedulers have
- a new FIFO thread queue.