ptos: thread: Add PsExitThread()
Signed-off-by: Chloe M <chloe@mensia.org>
This commit is contained in:
@@ -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
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user