From 48fc3dd2248fbfd6cd9e786fec89dffc604ead35 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 17 Mar 1998 00:07:36 +0000 Subject: Update. 1998-03-17 00:06 Ulrich Drepper * manager.c: Fix last patch which caused core dumps. * pthread.c: Correctly handle missing SIGRTMIN. --- linuxthreads/pthread.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'linuxthreads/pthread.c') diff --git a/linuxthreads/pthread.c b/linuxthreads/pthread.c index 729222e589..9699b4ddcc 100644 --- a/linuxthreads/pthread.c +++ b/linuxthreads/pthread.c @@ -166,6 +166,7 @@ static void pthread_initialize(void) /* The errno/h_errno variable of the main thread are the global ones. */ __pthread_initial_thread.p_errnop = &_errno; __pthread_initial_thread.p_h_errnop = &_h_errno; +#ifdef SIGRTMIN /* Allocate the signals used. */ __pthread_sig_restart = __libc_allocate_rtsig (1); __pthread_sig_cancel = __libc_allocate_rtsig (1); @@ -176,6 +177,7 @@ static void pthread_initialize(void) __pthread_sig_restart = SIGUSR1; __pthread_sig_cancel = SIGUSR2; } +#endif /* Setup signal handlers for the initial thread. Since signal handlers are shared between threads, these settings will be inherited by all other threads. */ -- cgit 1.4.1