[Zion] Move ProcessManager to map as well.
This commit is contained in:
parent
6e227e1cf6
commit
aa2d80b557
3 changed files with 11 additions and 15 deletions
|
|
@ -14,11 +14,8 @@ class ProcessManager {
|
|||
void InsertProcess(const glcr::RefPtr<Process>& proc);
|
||||
Process& FromId(uint64_t id);
|
||||
|
||||
void DumpProcessStates();
|
||||
|
||||
private:
|
||||
// TODO: This should be a hashmap.
|
||||
glcr::Vector<glcr::RefPtr<Process>> proc_list_;
|
||||
glcr::HashMap<uint64_t, glcr::RefPtr<Process>> proc_map_;
|
||||
};
|
||||
|
||||
extern ProcessManager* gProcMan;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue