Lifecycle management of threads #29

Merged
harraiken merged 240 commits from threads into master 2026-09-07 13:45:09 +02:00
Showing only changes of commit 854a8c8eef - Show all commits

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;
} }