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
+2
View File
@@ -22,10 +22,12 @@ struct _PROCESS;
* processes.
*
* @Tid: Thread ID
* @Parent: Parent process
* @ThreadLink: Thread queue link
*/
typedef struct _THREAD {
UQUAD Tid;
struct _PROCESS *Parent;
TAILQ_ENTRY(_THREAD) ThreadLink;
} THREAD;