This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: A patch for linuxthreads


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   `------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]