Kernel: Properly initialize and shutdown all modules.
This commit is contained in:
parent
57aaaf92db
commit
c7dc799e19
4 changed files with 20 additions and 9 deletions
|
@ -95,12 +95,13 @@ public:
|
|||
return false;
|
||||
}
|
||||
|
||||
public:
|
||||
static unsigned int next_object_id;
|
||||
|
||||
private:
|
||||
friend void intrusive_ptr_add_ref(Object*);
|
||||
friend void intrusive_ptr_release(Object*);
|
||||
|
||||
static unsigned int next_object_id;
|
||||
|
||||
unsigned int ref_count = 0;
|
||||
unsigned int object_id = next_object_id++;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue