From 0d996fd421270cbcd322ca3d43c64d05469abdfe Mon Sep 17 00:00:00 2001 From: Alex Ionescu Date: Sat, 16 Sep 2006 20:27:53 +0000 Subject: [PATCH] - Revert part of 24108 which was scanning the process's thread ready list and making the threads ready. This shouldn't currently happen on ReactOS but it seems that happens on Fireball's machine and crashes it, so I'm reverting it. svn path=/trunk/; revision=24147 --- reactos/ntoskrnl/ke/process.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reactos/ntoskrnl/ke/process.c b/reactos/ntoskrnl/ke/process.c index dbb7fd8f1d4..2e09a03f26f 100644 --- a/reactos/ntoskrnl/ke/process.c +++ b/reactos/ntoskrnl/ke/process.c @@ -90,6 +90,7 @@ KiAttachProcess(IN PKTHREAD Thread, if (Process->State == ProcessInMemory) { /* Scan the ready list */ +#if 0 ListHead = &Process->ReadyListHead; NextEntry = ListHead->Flink; while (NextEntry != ListHead) @@ -107,6 +108,7 @@ KiAttachProcess(IN PKTHREAD Thread, /* Go to the next one */ NextEntry = ListHead->Flink; } +#endif /* Release dispatcher lock */ KiReleaseDispatcherLockFromDpcLevel();