ptos: ps: Keep track of parent process

Signed-off-by: Chloe M <chloe@mensia.org>
This commit is contained in:
2026-07-14 15:54:23 -04:00
parent e6ac3d0b30
commit fe6be93d32
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -34,6 +34,7 @@ PsCreateThread(struct _PROCESS *Parent, ULONG Flags, THREAD **Result)
}
Thread->Tid = AtomicIncQuad(&NextThreadTid);
Thread->Parent = Parent;
*Result = Thread;
return STATUS_SUCCESS;
}