Add thread startup stub

This commit is contained in:
2026-06-14 00:50:23 +02:00
parent 15523e7d71
commit df35bf8601
2 changed files with 14 additions and 0 deletions

View File

@@ -43,6 +43,7 @@ namespace KE
IN PKSTART_ROUTINE StartRoutine,
IN PVOID StartContext,
IN PCONTEXT ContextRecord);
STATIC XTAPI VOID RunThread(VOID);
STATIC XTAPI VOID SuspendNop(IN PKAPC Apc,
IN OUT PKNORMAL_ROUTINE *NormalRoutine,
IN OUT PVOID *NormalContext,

View File

@@ -265,6 +265,19 @@ KE::KThread::InitializeThread(IN PKPROCESS Process,
return STATUS_SUCCESS;
}
/**
* Serves as the initial execution point for all threads after first context switch.
*
* @return This routine does not return any value.
*
* @since XT 1.0
*/
XTAPI
VOID
KE::KThread::RunThread(VOID)
{
}
/**
* Starts the thread.
*