ptos: thread: Add PsExitThread()

Signed-off-by: Chloe M <chloe@mensia.org>
This commit is contained in:
2026-07-15 05:26:15 -04:00
parent edde0119fb
commit e65a6dc799
2 changed files with 25 additions and 0 deletions
+7
View File
@@ -36,6 +36,13 @@ typedef struct _THREAD {
TAILQ_ENTRY(_THREAD) ThreadLink;
} THREAD;
/*
* Exit the current thread
*
* @ExitCode: Exit code to terminate with
*/
NO_RETURN VOID PsExitThread(ULONG ExitCode);
/*
* Create a new thread
*