forgot to remove debug messages
Modified: trunk/reactos/ntoskrnl/ps/kill.c
_____
Modified: trunk/reactos/ntoskrnl/ps/kill.c
--- trunk/reactos/ntoskrnl/ps/kill.c 2005-03-22 02:35:54 UTC (rev
14262)
+++ trunk/reactos/ntoskrnl/ps/kill.c 2005-03-22 03:05:46 UTC (rev
14263)
@@ -246,8 +246,8 @@
DPRINT("TerminationPort: %p\n", TerminationPort);
}
- /* Rundown Win32 Structures */DPRINT1("Terminating win32 thread
0x%x (proc 0x%x)\n", CurrentThread, CurrentThread->ThreadsProcess);
- PsTerminateWin32Thread(CurrentThread);if (Last)
{DPRINT1("Terminating win32 process 0x%x (thread 0x%x)\n",
CurrentProcess, CurrentThread); }
+ /* Rundown Win32 Structures */
+ PsTerminateWin32Thread(CurrentThread);
if (Last) PsTerminateWin32Process(CurrentProcess);
/* Cancel I/O for the thread. */
@@ -282,10 +282,10 @@
ExReleaseFastMutex(&CurrentProcess->TebLock);
}
- /* The last Thread shuts down the Process */if (Last)
{DPRINT1("calling PspExitProcess\n");}
+ /* The last Thread shuts down the Process */
if (Last) PspExitProcess(CurrentProcess);
- /* Unlock the Process */DPRINT1("Released process 0x%x lock by
0x%x\n", CurrentProcess, PsGetCurrentThread());
+ /* Unlock the Process */
PsUnlockProcess(CurrentProcess);
/* Rundown Timers */