A patch for linuxthreads
H.J. Lu
hjl@lucon.org
Wed Dec 2 10:35:00 GMT 1998
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 <hjl@gnu.org>
* 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;
More information about the Libc-hacker
mailing list