aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog6
-rw-r--r--linuxthreads/pthread.c5
2 files changed, 11 insertions, 0 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 92c4492..cf6d45f 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,9 @@
+1998-12-02 H.J. Lu <hjl@gnu.org>
+
+ * pthread.c (__pthread_sig_restart): Initiliaze to 0 if
+ SIGRTMIN is defined.
+ (__pthread_sig_cancel): Likewise.
+
1998-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* wrapsyscall.c: Include <sys/mman.h> for msync,
diff --git a/linuxthreads/pthread.c b/linuxthreads/pthread.c
index bd4ea5a..004c346 100644
--- a/linuxthreads/pthread.c
+++ b/linuxthreads/pthread.c
@@ -147,8 +147,13 @@ const int __pthread_offsetof_pid = offsetof(struct _pthread_descr_struct,
p_pid);
/* Signal numbers used for the communication. */
+#ifdef SIGRTMIN
+int __pthread_sig_restart;
+int __pthread_sig_cancel;
+#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;