A patch for linuxthreads
Ulrich Drepper
drepper@cygnus.com
Wed Dec 2 11:44:00 GMT 1998
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 `------------------------
More information about the Libc-hacker
mailing list