Alexandre Julliard : kernel32: Acquire the loader lock before shutting down the process.
Alexandre Julliard
julliard at winehq.org
Mon Jul 8 13:50:22 CDT 2013
Module: wine
Branch: master
Commit: c01574d426888cac336483c9420f066d46a7f1dc
URL: http://source.winehq.org/git/wine.git/?a=commit;h=c01574d426888cac336483c9420f066d46a7f1dc
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Jul 8 14:23:03 2013 +0200
kernel32: Acquire the loader lock before shutting down the process.
---
dlls/kernel32/process.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/kernel32/process.c b/dlls/kernel32/process.c
index d07065c..6d2f80d 100644
--- a/dlls/kernel32/process.c
+++ b/dlls/kernel32/process.c
@@ -2630,6 +2630,8 @@ __ASM_STDCALL_FUNC( ExitProcess, 4, /* Shrinker depend on this particular ExitPr
void WINAPI process_ExitProcess( DWORD status )
{
+ ULONG magic;
+ LdrLockLoaderLock( 0, 0, &magic );
RtlAcquirePebLock();
NtTerminateProcess(0, status);
LdrShutdownProcess();
More information about the wine-cvs
mailing list