Set Thread->SystemThread to TRUE when creating a system thread. Patch by Filip Navara
Modified: trunk/reactos/ntoskrnl/ps/thread.c
--- trunk/reactos/ntoskrnl/ps/thread.c 2005-05-04 15:53:54 UTC (rev 14969) +++ trunk/reactos/ntoskrnl/ps/thread.c 2005-05-04 16:00:39 UTC (rev 14970) @@ -237,6 +237,7 @@
/* System Thread */ DPRINT("Initialliazing Thread Start Address :%x\n", StartRoutine); Thread->StartAddress = StartRoutine;
+ Thread->SystemThread = TRUE;
/* Let the kernel intialize the Thread */ DPRINT("Initialliazing Kernel Thread\n");