197,200c197,200
< // This function may put a process on the wrong list, ie a method on
< // the process list or vice versa. That's fine since that's just a
< // performance optimization, and the important thing here is how the
< // processes are ordered.
---
> // This function may put a process on the wrong list, ie a thread
> // the method list. That's fine since that's just a performance
> // optimization, and the important thing here is how the processes are
> // ordered.
204c204
< readyList->pushFirst(_current);
---
> readyListMethods.pushFirst(_current);
206c206
< readyList->pushFirst(p);
---
> readyListMethods.pushFirst(p);
392a393,399
> Process *
> getNextReady()
> {
> Process *p = readyListMethods.getNext();
> return p ? p : readyListThreads.getNext();
> }
>
444d450
< ProcessList *readyList;