diff --git a/xtoskrnl/ke/kthread.cc b/xtoskrnl/ke/kthread.cc index 7cc6182..79640f9 100644 --- a/xtoskrnl/ke/kthread.cc +++ b/xtoskrnl/ke/kthread.cc @@ -278,6 +278,7 @@ KE::KThread::InitializeThread(IN PKPROCESS Process, /* Initialize the builtin wait blocks */ for(Index = 0; Index <= KTHREAD_WAIT_BLOCK; Index++) { + /* Backlink the wait block to the owning thread */ Thread->WaitBlock[Index].Thread = Thread; }