Author: arty
Date: Mon Aug 27 09:00:03 2007
New Revision: 28589
URL:
http://svn.reactos.org/svn/reactos?rev=28589&view=rev
Log:
Slight improvement: When terminating the process, kill sibling threads first.
We'll need this for synchronization at process termination among other things.
Thanks alex for pointing out that we didn't do this.
Modified:
trunk/reactos/dll/win32/kernel32/process/proc.c
Modified: trunk/reactos/dll/win32/kernel32/process/proc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/kernel32/process…
==============================================================================
--- trunk/reactos/dll/win32/kernel32/process/proc.c (original)
+++ trunk/reactos/dll/win32/kernel32/process/proc.c Mon Aug 27 09:00:03 2007
@@ -567,6 +567,9 @@
ULONG Request;
NTSTATUS Status;
+ /* kill sibling threads ... we want to be alone at this point */
+ NtTerminateProcess (NULL, 0);
+
/* unload all dll's */
LdrShutdownProcess ();