about summary refs log tree commit diff
path: root/linuxthreads/pthread.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-03-17 00:07:36 +0000
committerUlrich Drepper <drepper@redhat.com>1998-03-17 00:07:36 +0000
commit48fc3dd2248fbfd6cd9e786fec89dffc604ead35 (patch)
tree1029adb52e33766b81821d19c58079cc5dc64cc7 /linuxthreads/pthread.c
parent22bc79788225fb13ff8e66d38e0dd92d44b1e588 (diff)
downloadglibc-48fc3dd2248fbfd6cd9e786fec89dffc604ead35.tar.gz
glibc-48fc3dd2248fbfd6cd9e786fec89dffc604ead35.tar.xz
glibc-48fc3dd2248fbfd6cd9e786fec89dffc604ead35.zip
Update.
1998-03-17 00:06  Ulrich Drepper  <drepper@cygnus.com>

	* manager.c: Fix last patch which caused core dumps.

	* pthread.c: Correctly handle missing SIGRTMIN.
Diffstat (limited to 'linuxthreads/pthread.c')
-rw-r--r--linuxthreads/pthread.c2
1 files changed, 2 insertions, 0 deletions
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. */