This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: gthr-dce.h update for v3 thread compatibility
- To: rittle at labs dot mot dot com
- Subject: Re: PATCH: gthr-dce.h update for v3 thread compatibility
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Date: Mon, 11 Jun 2001 18:12:18 -0400 (EDT)
- Cc: gcc-patches at gcc dot gnu dot org
> Looks OK to me (but note that I can't approve it). Although I wonder
> about this:
>
> (__gthread_key_delete): Operation is unsupported and arguments UNUSED.
>
> It seems that must have compiled on some platform and I see that the
> mainline version keys this implementation off macros (I assume) which
> are defined in system headers.
Actually, I did the main patch for this. The macro was setup to detect
the presence of pthread_key_delete in the hpux 11 version of sys/pthread.h.
However, subsequently I realized that the hpux 11 pthread.h file defines
a full posix implementation, and hpux 11 should therefore use gthr-posix.h.
Currently, config.gcc disables threads on hpux 11.
The function pthread_key_delete is not available under hpux 10.X. I am
not sure about any of the previous versions of hpux but thread support
is disabled for them so it is not an issue.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)