ptos: ps: Keep track of parent process
Signed-off-by: Chloe M <chloe@mensia.org>
This commit is contained in:
@@ -34,6 +34,7 @@ PsCreateThread(struct _PROCESS *Parent, ULONG Flags, THREAD **Result)
|
||||
}
|
||||
|
||||
Thread->Tid = AtomicIncQuad(&NextThreadTid);
|
||||
Thread->Parent = Parent;
|
||||
*Result = Thread;
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user