Update thread initialization code to use MutexListHead
All checks were successful
Builds / ExectOS (amd64, release) (push) Successful in 25s
Builds / ExectOS (amd64, debug) (push) Successful in 42s
Builds / ExectOS (i686, debug) (push) Successful in 40s
Builds / ExectOS (i686, release) (push) Successful in 30s

This commit is contained in:
2026-06-28 19:31:01 +02:00
parent 6e4f9dd5b1
commit 3011df6f3c

View File

@@ -270,8 +270,8 @@ KE::KThread::InitializeThread(IN PKPROCESS Process,
/* Initialize thread wait list */
RTL::LinkedList::InitializeListHead(&Thread->Header.WaitListHead);
/* Initialize thread mutant list head */
RTL::LinkedList::InitializeListHead(&Thread->MutantListHead);
/* Initialize thread mutex list head */
RTL::LinkedList::InitializeListHead(&Thread->MutexListHead);
/* Initialize the builtin wait blocks */
for(Index = 0; Index <= KTHREAD_WAIT_BLOCK; Index++)