From 07931f2d70c80047f90ce4cd42a4d156fef50fb6 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 28 Oct 2003 21:46:46 +0000 Subject: [PATCH] Removed no longer needed SIGNAL_Unblock() function. --- dlls/ntdll/exception.c | 2 -- dlls/ntdll/signal_i386.c | 14 -------------- dlls/ntdll/signal_powerpc.c | 14 -------------- dlls/ntdll/signal_sparc.c | 14 -------------- include/thread.h | 1 - 5 files changed, 45 deletions(-) diff --git a/dlls/ntdll/exception.c b/dlls/ntdll/exception.c index b54ff71d38b..b95c902e817 100644 --- a/dlls/ntdll/exception.c +++ b/dlls/ntdll/exception.c @@ -241,8 +241,6 @@ void WINAPI EXC_RtlRaiseException( EXCEPTION_RECORD *rec, CONTEXT *context ) if (send_debug_event( rec, TRUE, context ) == DBG_CONTINUE) return; /* continue execution */ - SIGNAL_Unblock(); /* we may be in a signal handler, and exception handlers may jump out */ - if (call_vectored_handlers( rec, context ) == EXCEPTION_CONTINUE_EXECUTION) return; frame = NtCurrentTeb()->Tib.ExceptionList; diff --git a/dlls/ntdll/signal_i386.c b/dlls/ntdll/signal_i386.c index b4474e7fa02..b63e1f3c049 100644 --- a/dlls/ntdll/signal_i386.c +++ b/dlls/ntdll/signal_i386.c @@ -1402,20 +1402,6 @@ void SIGNAL_Block(void) } -/*********************************************************************** - * SIGNAL_Unblock - * - * Unblock signals. Called from EXC_RtlRaiseException. - */ -void SIGNAL_Unblock(void) -{ - sigset_t all_sigs; - - sigfillset( &all_sigs ); - sigprocmask( SIG_UNBLOCK, &all_sigs, NULL ); -} - - /********************************************************************** * SIGNAL_Reset * diff --git a/dlls/ntdll/signal_powerpc.c b/dlls/ntdll/signal_powerpc.c index 8545becba5d..291a42a085d 100644 --- a/dlls/ntdll/signal_powerpc.c +++ b/dlls/ntdll/signal_powerpc.c @@ -668,20 +668,6 @@ void SIGNAL_Block(void) } -/*********************************************************************** - * SIGNAL_Unblock - * - * Unblock signals. Called from EXC_RtlRaiseException. - */ -void SIGNAL_Unblock(void) -{ - sigset_t all_sigs; - - sigfillset( &all_sigs ); - sigprocmask( SIG_UNBLOCK, &all_sigs, NULL ); -} - - /********************************************************************** * SIGNAL_Reset * diff --git a/dlls/ntdll/signal_sparc.c b/dlls/ntdll/signal_sparc.c index 9241be77e33..e4ac7407862 100644 --- a/dlls/ntdll/signal_sparc.c +++ b/dlls/ntdll/signal_sparc.c @@ -466,20 +466,6 @@ void SIGNAL_Block(void) } -/*********************************************************************** - * SIGNAL_Unblock - * - * Unblock signals. Called from EXC_RtlRaiseException. - */ -void SIGNAL_Unblock(void) -{ - sigset_t all_sigs; - - sigfillset( &all_sigs ); - sigprocmask( SIG_UNBLOCK, &all_sigs, NULL ); -} - - /********************************************************************** * SIGNAL_Reset * diff --git a/include/thread.h b/include/thread.h index 69a23106444..4fbc00a52e9 100644 --- a/include/thread.h +++ b/include/thread.h @@ -161,7 +161,6 @@ extern void DECLSPEC_NORETURN SYSDEPS_AbortThread( int status ); /* signal handling */ extern BOOL SIGNAL_Init(void); extern void SIGNAL_Block(void); -extern void SIGNAL_Unblock(void); extern void SIGNAL_Reset(void); #endif /* __WINE_THREAD_H */