[ros-diffs] [fireball] 34901: Dmitry Gorbachev - PDT of CSRSS has no entry for TCB of the thread, fix this problem. See issue #3591 for more details.

fireball at svn.reactos.org fireball at svn.reactos.org
Mon Jul 28 16:32:50 CEST 2008


Author: fireball
Date: Mon Jul 28 09:32:50 2008
New Revision: 34901

URL: http://svn.reactos.org/svn/reactos?rev=34901&view=rev
Log:
Dmitry Gorbachev
- PDT of CSRSS has no entry for TCB of the thread, fix this problem.
See issue #3591 for more details.

Modified:
    trunk/reactos/ntoskrnl/ke/procobj.c

Modified: trunk/reactos/ntoskrnl/ke/procobj.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/ke/procobj.c?rev=34901&r1=34900&r2=34901&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/ke/procobj.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/ke/procobj.c [iso-8859-1] Mon Jul 28 09:32:50 2008
@@ -451,6 +451,7 @@
                              (PVOID)Thread->StackLimit,
                              Thread->LargeStack ?
                              KERNEL_STACK_SIZE : KERNEL_LARGE_STACK_SIZE);
+    MiSyncThreadProcessViews(Process, Thread, sizeof(ETHREAD));
 
     /* Check if we're already in that process */
     if (Thread->ApcState.Process == Process) return;
@@ -580,6 +581,7 @@
                              (PVOID)Thread->StackLimit,
                              Thread->LargeStack ?
                              KERNEL_STACK_SIZE : KERNEL_LARGE_STACK_SIZE);
+    MiSyncThreadProcessViews(Process, Thread, sizeof(ETHREAD));
 
     /* Crash system if DPC is being executed! */
     if (KeIsExecutingDpc())



More information about the Ros-diffs mailing list