git://git.jankratochvil.net
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c853634
)
Filled-in missing 'FirstThread->Tcb.Queue' initialization
author
short
<>
Tue, 8 Apr 2003 17:42:31 +0000
(17:42 +0000)
committer
short
<>
Tue, 8 Apr 2003 17:42:31 +0000
(17:42 +0000)
ntoskrnl/ps/thread.c
patch
|
blob
|
history
diff --git
a/ntoskrnl/ps/thread.c
b/ntoskrnl/ps/thread.c
index
b75e750
..
a1603f0
100644
(file)
--- a/
ntoskrnl/ps/thread.c
+++ b/
ntoskrnl/ps/thread.c
@@
-453,6
+453,8
@@
PsInitThreadManagment(VOID)
THREAD_ALL_ACCESS,NULL, TRUE);
FirstThread->Tcb.State = THREAD_STATE_RUNNING;
FirstThread->Tcb.FreezeCount = 0;
+ FirstThread->Tcb.Queue = ExAllocatePool(NonPagedPool, sizeof(*FirstThread->Tcb.Queue));
+ KeInitializeQueue(FirstThread->Tcb.Queue, 0);
KeGetCurrentKPCR()->CurrentThread = (PVOID)FirstThread;
NtClose(FirstThreadHandle);