This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: A patch for linuxthreads
- To: hjl@lucon.org (H.J. Lu)
- Subject: Re: A patch for linuxthreads
- From: Ulrich Drepper <drepper@cygnus.com>
- Date: 02 Dec 1998 11:44:27 -0800
- Cc: libc-hacker@cygnus.com (GNU C Library)
- References: <m0zlH7k-000393C@ocean.lucon.org>
- Reply-To: drepper@cygnus.com (Ulrich Drepper)
hjl@lucon.org (H.J. Lu) writes:
> 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.
Let's use zero for the initializers (i.e., no initializer at all).
This moves the vars into .bss and since signal 0 cannot be used is
equally well to detect uninitialized variables.
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------