Update thread initialization code to use MutexListHead
This commit is contained in:
@@ -270,8 +270,8 @@ KE::KThread::InitializeThread(IN PKPROCESS Process,
|
|||||||
/* Initialize thread wait list */
|
/* Initialize thread wait list */
|
||||||
RTL::LinkedList::InitializeListHead(&Thread->Header.WaitListHead);
|
RTL::LinkedList::InitializeListHead(&Thread->Header.WaitListHead);
|
||||||
|
|
||||||
/* Initialize thread mutant list head */
|
/* Initialize thread mutex list head */
|
||||||
RTL::LinkedList::InitializeListHead(&Thread->MutantListHead);
|
RTL::LinkedList::InitializeListHead(&Thread->MutexListHead);
|
||||||
|
|
||||||
/* 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++)
|
||||||
|
|||||||
Reference in New Issue
Block a user