Move Process to storing Threads in a linked list.

This should really be a vector or hashmap of some sort but this is fine
for now.
This commit is contained in:
Drew Galbraith 2023-05-29 15:08:02 -07:00
parent 5cab9f843e
commit 9f3ffbf5b4
4 changed files with 19 additions and 34 deletions

View file

@ -13,7 +13,7 @@ void DumpProcessStates(LinkedList<Process*>& proc_list) {
auto iter = proc_list.begin();
while (iter != proc_list.end()) {
dbgln("%u: %u", iter->id(), iter->GetState());
iter = iter.next();
++iter;
}
}