Spawn Processes using memory primitives rather than and elf loader.
This allows us to remove the temporary syscall for that style of process spawn.
This commit is contained in:
parent
b06c76e477
commit
23895b5c6c
26 changed files with 403 additions and 94 deletions
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include "debug/debug.h"
|
||||
|
||||
template <typename T>
|
||||
class RefPtr;
|
||||
|
||||
|
|
@ -26,6 +28,7 @@ class RefPtr {
|
|||
ptr_->Acquire();
|
||||
}
|
||||
if (old && old->Release()) {
|
||||
dbgln("Deleting obj %m", old);
|
||||
delete old;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue