Document the backlinking
All checks were successful
Builds / ExectOS (amd64, release) (push) Successful in 32s
Builds / ExectOS (amd64, debug) (push) Successful in 40s
Builds / ExectOS (i686, release) (push) Successful in 32s
Builds / ExectOS (i686, debug) (push) Successful in 38s

This commit is contained in:
2026-06-17 20:40:23 +02:00
parent 1fca2400a4
commit 854a8c8eef

View File

@@ -278,6 +278,7 @@ KE::KThread::InitializeThread(IN PKPROCESS Process,
/* Initialize the builtin wait blocks */ /* Initialize the builtin wait blocks */
for(Index = 0; Index <= KTHREAD_WAIT_BLOCK; Index++) for(Index = 0; Index <= KTHREAD_WAIT_BLOCK; Index++)
{ {
/* Backlink the wait block to the owning thread */
Thread->WaitBlock[Index].Thread = Thread; Thread->WaitBlock[Index].Thread = Thread;
} }