From 4a5890811d21b58a81b79a4158f00354abadd88b Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 5 Feb 2018 16:43:34 +0100 Subject: [PATCH] ntdll: Block signals during process-wide exit. Signed-off-by: Alexandre Julliard --- dlls/ntdll/thread.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/ntdll/thread.c b/dlls/ntdll/thread.c index b36b265e448..c999d4b9dc6 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 ); }