This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Threads, glibc, and all that
Jason Merrill <jason@cygnus.com> writes:
> But why? You just needed to change sigset_t to __sigset_t in pthread.h.
No. When the pthread.h header is used sigset_t must be available even
if the user specifies something stupid as the -ansi flag (which
contradicts the use of pthread.h). The change in signal.h implements
this.
Beside, whether pthread.h is changed or signal.h does not matter here
since both files come with the libc.
-- Uli
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------