mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Add more detailed comment about ThreadListEntry so people don't get confused liek I did
svn path=/trunk/; revision=14779
This commit is contained in:
parent
6c66ab6c64
commit
7f7e3e1cf6
2 changed files with 10 additions and 2 deletions
|
@ -782,7 +782,11 @@ KeInitializeThread(PKPROCESS Process,
|
||||||
/* Set the Thread to initalized */
|
/* Set the Thread to initalized */
|
||||||
Thread->State = Initialized;
|
Thread->State = Initialized;
|
||||||
|
|
||||||
/* Insert the Thread into the Process's Thread List */
|
/*
|
||||||
|
* Insert the Thread into the Process's Thread List
|
||||||
|
* Note, this is the KTHREAD Thread List. It is removed in
|
||||||
|
* ke/kthread.c!KeTerminateThread.
|
||||||
|
*/
|
||||||
InsertTailList(&Process->ThreadListHead, &Thread->ThreadListEntry);
|
InsertTailList(&Process->ThreadListHead, &Thread->ThreadListEntry);
|
||||||
DPRINT("Thread initalized\n");
|
DPRINT("Thread initalized\n");
|
||||||
}
|
}
|
||||||
|
|
|
@ -250,7 +250,11 @@ PspCreateThread(OUT PHANDLE ThreadHandle,
|
||||||
KernelStack);
|
KernelStack);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Insert into Process List */
|
/*
|
||||||
|
* Insert the Thread into the Process's Thread List
|
||||||
|
* Note, this is the ETHREAD Thread List. It is removed in
|
||||||
|
* ps/kill.c!PspExitThread.
|
||||||
|
*/
|
||||||
DPRINT("Inserting into Process Thread List \n");
|
DPRINT("Inserting into Process Thread List \n");
|
||||||
InsertTailList(&Process->ThreadListHead, &Thread->ThreadListEntry);
|
InsertTailList(&Process->ThreadListHead, &Thread->ThreadListEntry);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue