From a6ff34d7b0b59a1ad501dca25558ba21f6e539bb Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 4 Dec 1998 20:58:15 +0000 Subject: Update. 1998-12-04 Ulrich Drepper * argp/argp.h: Add __retrict. * dirent/dirent.h: Likewise. * elf/dlfcn.h: Likewise. * grp/grp.h: Likewise. * iconv/iconv.h: Likewise. * inet/aliases.h: Likewise. * libio/libio.h: Likewise. * libio/stdio.h: Likewise. * locale/locale.h: Likewise. * misc/mntent.h: Likewise. * posix/wordexp.h: Likewise. * pwd/pwd.h: Likewise. * resolv/netdb.h: Likewise. * rt/aio.h: Likewise. * stdio-common/printf.h: Likewise. * stdlib/monetary.h: Likewise. * stdlib/stdlib.h: Likewise. * string/argz.h: Likewise. * string/envz.h: Likewise. * string/string.h: Likewise. * time/time.h: Likewise. 1998-12-04 Zack Weinberg * misc/sys/cdefs.h: Only include features.h if _FEATURES_H isn't defined. gcc's redundant include optimizer isn't clever enough to prevent a reinclusion here. Define __restrict to the empty string only if not GCC or GCC version less than 2.92. 1998-12-03 Andreas Schwab * sysdeps/unix/sysv/linux/configure.in: Fix last change. 1998-12-03 Mark Kettenis * time/strptime.c (strptime_internal): Make use of `%C' format specifier if it is seen together with the `%y' specifier. 1998-12-04 Ulrich Drepper * po/sk.po: New file. 1998-12-03 Scott Bambrough * sysdeps/arm/dl-machine.h (dl_start_user): Incorrect address for _dl_main_searchlist passed to _dl_init_next. 1998-12-02 Andreas Schwab * math/libm-test.c: Expand literal tabs in strings. Normalize whitespace. 1998-12-02 Andreas Schwab * sysdeps/unix/sysv/linux/sys/fsuid.h: Fix spelling. --- linuxthreads/ChangeLog | 6 ++++++ linuxthreads/pthread.c | 5 +++++ 2 files changed, 11 insertions(+) (limited to 'linuxthreads') 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 + + * pthread.c (__pthread_sig_restart): Initiliaze to 0 if + SIGRTMIN is defined. + (__pthread_sig_cancel): Likewise. + 1998-12-01 Andreas Jaeger * wrapsyscall.c: Include 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; -- cgit v1.1