From mboxrd@z Thu Jan 1 00:00:00 1970 From: hjl@lucon.org (H.J. Lu) To: libc-hacker@cygnus.com (GNU C Library) Subject: A patch for linuxthreads Date: Wed, 02 Dec 1998 10:35:00 -0000 Message-id: X-SW-Source: 1998-12/msg00036.html Please ignore my last patch for linuxthreads. This one should be used. Thanks. -- H.J. Lu (hjl@gnu.org) --- Wed Dec 2 08:40:43 1998 H.J. Lu * pthread.c (__pthread_sig_restart): Initiliaze to -1 if SIGRTMIN is defined. (__pthread_sig_cancel): Likewise. Index: pthread.c =================================================================== RCS file: /home/work/cvs/gnu/glibc/linuxthreads/pthread.c,v retrieving revision 1.1.1.8 diff -u -p -r1.1.1.8 pthread.c --- pthread.c 1998/10/31 16:47:04 1.1.1.8 +++ pthread.c 1998/12/02 18:33:36 @@ -147,8 +147,13 @@ const int __pthread_offsetof_pid = offse p_pid); /* Signal numbers used for the communication. */ +#ifdef SIGRTMIN +int __pthread_sig_restart = -1; +int __pthread_sig_cancel = -1; +#else int __pthread_sig_restart = DEFAULT_SIG_RESTART; int __pthread_sig_cancel = DEFAULT_SIG_CANCEL; +#endif /* These variables are used by the setup code. */ extern int _errno;