Alexandre Julliard : ntdll: Block signals during process-wide exit.

Alexandre Julliard julliard at winehq.org
Mon Feb 5 16:48:26 CST 2018


Module: wine
Branch: master
Commit: 4a5890811d21b58a81b79a4158f00354abadd88b
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=4a5890811d21b58a81b79a4158f00354abadd88b

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Feb  5 16:43:34 2018 +0100

ntdll: Block signals during process-wide exit.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ntdll/thread.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/ntdll/thread.c b/dlls/ntdll/thread.c
index b36b265..c999d4b 100644
--- a/dlls/ntdll/thread.c
+++ b/dlls/ntdll/thread.c
@@ -475,6 +475,7 @@ void WINAPI RtlExitUserThread( ULONG status )
     if (interlocked_xchg_add( &nb_threads, -1 ) <= 1)
     {
         LdrShutdownProcess();
+        pthread_sigmask( SIG_BLOCK, &server_block_set, NULL );
         signal_exit_process( status );
     }
 




More information about the wine-cvs mailing list