Fix build by initializing thread dispatcher header
All checks were successful
Builds / ExectOS (amd64, release) (push) Successful in 31s
Builds / ExectOS (amd64, debug) (push) Successful in 31s
Builds / ExectOS (i686, debug) (push) Successful in 30s
Builds / ExectOS (i686, release) (push) Successful in 35s

This commit is contained in:
2026-06-10 11:56:49 +02:00
parent f3ae70573c
commit 51ec7e3bab
3 changed files with 5 additions and 4 deletions

View File

@@ -144,8 +144,9 @@ KE::KThread::InitializeThread(IN PKPROCESS Process,
Allocation = FALSE;
/* Initialize thread dispatcher header */
Thread->Header.Type = ThreadObject;
Thread->Header.SignalState = 0;
Thread->Header.Size = sizeof(KTHREAD) / sizeof(LONG);
Thread->Header.Type = ThreadObject;
/* Initialize thread wait list */
RTL::LinkedList::InitializeListHead(&Thread->Header.WaitListHead);
@@ -269,7 +270,7 @@ KE::KThread::InitializeThread(IN PKPROCESS Process,
*/
XTAPI
VOID
KE::KThread::StartThread(IN PKTHREAD Thread)
KE::KThread::StartThread(IN OUT PKTHREAD Thread)
{
UNIMPLEMENTED;
}